Article View: comp.windows.interviews
Article #229Help with Input Group
From: Don Walters
Date: Wed, 12 Aug 1992 00:16
Date: Wed, 12 Aug 1992 00:16
28 lines
1486 bytes
1486 bytes
The more I learn about the InterViews Glyph-based classes, the more I like it! If it were available on all platforms, there would be no contest between it and other UI toolkits for a combination of ease-of-use and flexibility. Having said that, and having gotten past my last misunder- standing about Glyphs (Mark: Thanks for the great example on rubberbanding), I now reach my next conceptual chasm. I have a window with a bunch of buttons and field-editor fields. The normal input behaviour in this case is that selecting one of the fields causes it to receive focus, and all keyboard events will be directed to the input field regardless of what object the mouse cursor is over. I have successfully created an InputHandler object which contains a list of my buttons and editors. Selecting a button or edit-field does switch focus properly, but keystroke events are only directed to the edit-field when the mouse cursor is over an edit-field. How can I cause all keystroke events in the window to be directed to the object that has focus? Thanks ... Don Walters daw@zuken.com
Technical Details
Message-ID:
<9208120018.AA10556@sc.zuken.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!sc.zuken.com!dawShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!sc.zuken.com!daw From: daw@sc.zuken.com (Don Walters) Subject: Help with Input Group Message-ID: <9208120018.AA10556@sc.zuken.com> Sender: news@shelby.stanford.edu (USENET News System) Organization: Internet-USENET Gateway at Stanford University Date: Wed, 12 Aug 1992 00:16:35 GMT Lines: 29