Welcome Guest (Log in)

skComboBox

StarStarStarStarStar
Custom control (16) | IDE (9) | Interface (4)
General
Expander triangle
  • Author
  • Rating
  • Type
  • Revision
  • Downloaded
  • Updated
  • Stam Kapetanakis
  • StarStarStarStarStar
  • Stack
  • 3
  • 32 Times
  • 12 January 2021
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
Ajax Loader
Tags
Expander triangle
User Comments
Expander triangle