Event at org.eclipse.swt.widgets.Combo [message #501914] |
Fri, 04 December 2009 08:07  |
Eclipse User |
|
|
|
Hello,
which Listener and Event is suitable to catch
a) a direct left mouse click in the Combo box field (not a click to select
an entry somewhere in its dropdown list, when opened)
b) pressing [Enter]
to select the value, entered, in the "text field" area of the Combo box
(org.eclipse.swt.widgets.Combo)?
To explain:
The usual SelectionListener catches the event after selecting an entry in
the dropdown list of the combo. I'm searching for the listener to track the
events, mentioned above.
Thomas Wiedmann
|
|
|
|
|
Re: Event at org.eclipse.swt.widgets.Combo [message #502432 is a reply to message #502050] |
Tue, 08 December 2009 03:20  |
Eclipse User |
|
|
|
> e. g. text is entered into the Combo box field or selected in the
> dropdown list and confirmed afterwards by clicking or pressing [Enter].
If you are looking to catch the selection of an item from dropdown list,
then you can go for 'Selection' event.
And for pressing Enter, as said by Grant, 'Default selection' event will
be helpful.
|
|
|
Powered by
FUDForum. Page generated in 0.15330 seconds