home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!decwrl!csus.edu!csusac!unify!openlook!openlook-request
- Message-ID: <jlpejg@openlook.Unify.Com>
- Newsgroups: comp.windows.open-look
- Distribution: world
- Date: Wed, 9 Sep 92 10:53:07 EDT
- From: fgreco@fis1026.shearson.com (Frank Greco)
- Sender: news@Unify.Com
- Subject: Re: Need help in selecting a Panel Text Field.
- Lines: 31
-
- > Newsgroups: comp.windows.open-look
- > From: alex@bnkc08.Bell.CA (Alex Laney)
- > Organization: Bell Canada - Ops Dvlpmt (Ntwk Systems)
- > Date: Thu, 3 Sep 1992 20:34:18 GMT
- >
- > I need to make a 'Panel Text Field' highlighted. I.e., selected. The
- > environment I am using is OpenWindows 2 and XView. Could someone point me
- > to some sample code to do this? If I have to fake mouse events to a text
- > field that is okay with me, but I really don't want to re-invent this if I
- > don't have to. I have a copy of the O'Reilly XView Manual, which describes
- > how to do this with text sub-windows, but that's not what I want. I know
- > that I can set the PANEL_CARET_ITEM, but that's just too subtle for the
- > user audience for the application I work on.
- >
- > If this is solved simply in OpenWindows 3, I might just use that ...
- >
- >
- > yes it's solved in V3, and you are correct that calling it's
- > event handler with the correct actions will work as well.
-
- I've had the same scenario (OL text selection is non-obvious to
- a certain class of users). In addition to PANEL_CARET_ITEM, I've
- drawn a colored box around the item that has the focus.
-
- Frank G.
-
- It would be nice if the scrollers around text items repeated if
- the user held the mouse button down (or at least had a resource
- to enable/disable).
- =-=-=-=-=-=-=-=-=-=
-
-