home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / windows / x / 19343 < prev    next >
Encoding:
Internet Message Format  |  1992-11-19  |  1015 b 

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