|DropDown widgets - Proper way to do this? [message #467141]
||Wed, 25 January 2006 17:55
| Jeremy Dowdall
Registered: July 2009
I have a few different widgets that I need to "drop down" (or "pop up", |
depending upon your perspective) like a dropdown combo box, and am
wondering if there is a recommended way to do this.
I've looked at several pop up calendars and calculators, but none of
them seem to close properly, for instance, when I click outside of the
dropped shell, the SWT.Deactivate event is not called and the widget
I then figured that the SWT CCombo might be a good example to work from.
I replaced the CCombo's List widget with my own widget and got exactly
the behaviour I needed, except when the parent shell is Modal (picture:
http://sourceforge.net/project/screenshots.php?group_id=1574 89) - then I
don't get any selection events (actually if you just replace the List
widget with a Button widget in the CCombo, it doesn't work either - the
List widget receives selection events, but the button won't, why is that?).
So, is there a right way to do this?
Powered by FUDForum
. Page generated in 0.01670 seconds