PDA

View Full Version : Enter and listbox selected item doens't work?!


Eugenio
06-06-2008, 07:44 PM
Is there any way to execute a selected listbox item pressing ENTER?

It should call the "on double clicked do" or have it's own event handle...not a big deal at least...

Regards,

Jr.

ZeBoxx2
06-06-2008, 07:55 PM
not in any convenient way; you'd have to use a .NET listbox control instead, probably.

There is no event handler for hitting the enter key when inside a listbox control. You could setFocus() to a button after the selection is changed so that hitting enter will press that button - but if the user is navigating through the listbox via cursor keys, they'll be unhappy that they can no longer move up/down in the list.

CGTalk Moderation
06-06-2008, 07:55 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.