home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / windows / x / motif / 5585 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  2.0 KB

  1. Path: sparky!uunet!snorkelwacker.mit.edu!thunder.mcrcim.mcgill.edu!sobeco!philmtl!vedge!belanger
  2. From: belanger@vedge.UUCP (Robert Belanger)
  3. Newsgroups: comp.windows.x.motif
  4. Subject: Re: ^ Cursor Removal in Text Widget
  5. Message-ID: <28609@vedge.UUCP>
  6. Date: 12 Aug 92 17:37:47 GMT
  7. References: <22788@hacgate.SCG.HAC.COM>
  8. Distribution: usa
  9. Organization: Visual Edge Software, St. Laurent, Quebec
  10. Lines: 32
  11.  
  12. sean@mitchell.eos.scg.hac.com (Sean Cohan) writes:
  13. : Hello.
  14. : I'm using several text widgets within a form.  I've set the keyboardFocusPolicy
  15. : to "pointer" so that when I move the pointer into a text widget it has 
  16. : automatic focus.  If after I edit one of these text widgets and then leave that
  17. : widget, the up arrow cursor ^ is left behind.  If I move into a new text 
  18. : widget I have the flashing text cursor displayed in the new widget and the ^ 
  19. : cursor in the old text widget I just modified.  This looks confusing to the 
  20. : user.  How can I erase the ^ cursor from the old text widget.  
  21. : Thanks.
  22.  
  23.     Use the losingFocusCallback to change the XmNcursorPositionVisible to
  24.     False and the focusCallback to change the XmNcursorPositionVisible to
  25.     True. Voila!
  26.  
  27.     -----------------------------------------------------------------
  28.     | Robert Belanger        |                |
  29.     -----------------------------------------------------------------
  30.     | Visual Edge Software        |     ===============        |
  31.     | 3870 Cote Vertu, St. Laurent    |     =           =====    |
  32.     | Quebec, Canada H4R 1V4    |      ===========         |
  33.     |                                 |       =      =====        |
  34.     |                                 |        =======         |
  35.     | Ph: [514] 332-6430, Ext. 218  |            =  =====        |
  36.     | Fax:[514] 332-5914        |             ===        |
  37.     | Email: belanger@vedge.com    |              =        |
  38.     -----------------------------------------------------------------
  39.     | We'll catch those mice, ... like mice or my name is not       |
  40.     | Winnie the Pooh which it is, so there you are. (Pooh Bear)    |
  41.     -----------------------------------------------------------------
  42.