|How to Build a "searchable" Combo? [message #1703735]
||Tue, 04 August 2015 13:32
| Al Bundy
Registered: November 2011
I have a combo with a lots of entries and would like to add a behavior something like the AutomCompleteField with a ComboContentAdapter.|
The ComboContentAdapter seems to set the text only - at least the new selection is not set.
Currently I'm using a ComboViewer with an ArrayContentProvider and my own Labelprovider.
If I use a AutoSelectField the typical "proposal-popup" is opened - this allows the user also to input any value and commit it with enter.
I want a combo where I can type (removing the SWT.READ_ONLY-Flag) and the content ist filtered, so that the user can only select valid values.
Has anybody an idea how to implement this?
Powered by FUDForum
. Page generated in 0.01537 seconds