home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!zaphod.mps.ohio-state.edu!pitt.edu!gvls1!tredysvr!bda
- From: bda@tredysvr.Tredydev.Unisys.COM (Brian Ampolsk)
- Newsgroups: comp.windows.x
- Subject: setting input focus
- Keywords: set input focus XtSetKeyboardFocus XmProcessTraversal uil motif X11R4
- Message-ID: <2702@tredysvr.Tredydev.Unisys.COM>
- Date: 19 Nov 92 16:18:52 GMT
- Organization: Unisys Corporation, Tredyffrin, PA
- Lines: 13
-
- I have the an application which contains windows containing numerous
- text widgets. I am using uil/C in a motif/X11R4 environment.
- Certain widgets must be edit-checked for correct
- values. In the event of invalid entry, I pop up an error dialog.
- After keying "ok", and poping down the error dialog, I wish the input
- focus to be in the offending widget. I have tried using
- XmProcessTraversal which doesn't work, and XtSetKeyboardFocus is not
- clear to me. Also, the callback resource in this case is
- XmNlosingFocusCallback.
-
- Any help will be appreciated.
-
- Brian Ampolsk
-