ListBox use html SELECT element. Thus, you have natively (without keypresshandler) keys up/down to change selection and : - in Firefox and IE : ALT+DOWN/ALT+UP to expand/collapse select. - in chrome : Space/esc to expand/collapse select.
I don't know if you can expand select with javascript. Alexandre. 2011/3/21 Jonathan Alon <[email protected]> > Hi, > > I have a FlexTable full of ListBoxs set to 1 visible item, when > clicked on with the mouse the listbox will expand and let me see the > full list of items, I want to create a keyboard shortcut to mimic the > same effect. > I've tried adding keypresshandler to handle specific key and through > it fire a mouse down NativeEvent, but it does nothing. > Anyone have a clue? ideas? > > Thanks in advance. > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
