Thanks, Björn, Bill, Oleg. These are all good ideas. (I'd forgotten about "Demos...")
I'd thought of isigraph for a production system: although a lot of work initially, it may turn out quicker in the end than wrestle with (yet another) gui controls library. Ian On Mon, Jan 4, 2010 at 11:23 AM, Oleg Kobchenko <[email protected]> wrote: > This behavior (arrow keys triggering list item selection) > is present in Windows FE, but the Java FE implementation > chose not to follow it through; it has been reported earlier. > So there is no way to do it in Java FE. > > As a workaround, you may consider using the grid control. > Besides the arrow support and other key events, you get > additional columns etc as a bonus. > > For an example, see > > load 'gui/util/cobrowse' > > Use Tab key to switch between lists and Arrow keys to > select list items. > > > > >> From: Ian Clark <[email protected]> >> >> I have a listbox called "panel". As rows of "panel" are selected I >> want to provide details of the selection elsewhere on the form (called >> "topend"). >> >> Clicking a line fires the event: topend_panel_select, which I can use >> to do what I need. I would like pressing key: downarrow to fire this >> event too. But the arrow keys do not seem to cause listbox events -- >> at least not ones that topend_default can see. And they don't update >> globals: panel, panel_select either. (Is this just a Mac problem?) >> >> 1. How do I trap (arrow) keystrokes? >> >> 2. Where should I start looking for a reference list of events for a >> given control? >> >> 3. Has anyone written a sampler gui illustrating the various controls >> available, with stub handlers for the commoner events? >> >> Ian >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > > > > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
