ComboBox replacement
A simple combobox replacement, which features:
- filter popup list automatically by typing in field; clearing the text shows all values
- show/hide popup list with the escape key
- arrow key navigation of popup list
- select a value in the popup list with the return or enter keys (or click on value)
- simple API to add list of values for popup and to clear popup.
- resize the height/width of the popup list by adjusting the dimensions of the group
API
- uValue (custom property) returns the selected value
Example: put the uValue of group "comboBox"
- populateCombo pValueList
pValueList is a return-delimited list of values. Populates the popupList
Example: send ÒpopulateCombo tValueListÓ to group ÒcomboBoxÓ
- clearCombo
clears the popup list and entry field of all values
Example: send ÒclearComboÓ to group ÒcomboBoxÓ
--- REVISION 2:
updated resizing handler to work correctly with popup list
--- REVISION 3:
added get/set methods for custom property uValue which stores the value selected/shown in field