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