DVX_GUI/widgets/comboBox/combobox.bhs

30 lines
926 B
Text

.topic ctrl.combobox
.title ComboBox
.toc 1 ComboBox
.index ComboBox
.h1 ComboBox
VB Equivalent: ComboBox -- DVX Widget: combobox (editable text field + drop-down list, max 256 chars)
A combination of a text input and a drop-down list. The user can type text or select from the list. Supports the same AddItem/RemoveItem/Clear/List methods as ListBox.
.h2 Type-Specific Properties
.table
Property Type Description
--------- ------- -------------------------------------------
Text String The text in the editable field.
ListIndex Integer Index of the currently selected list item (-1 = none).
ListCount Integer Number of items in the drop-down list (read-only).
.endtable
.h2 Type-Specific Methods
Same as ListBox: AddItem, RemoveItem, Clear, List.
.link ctrl.listbox See ListBox for details
Default Event: Click
.link ctrl.common.props Common Properties, Events, and Methods