DVX_GUI/widgets/dropdown/dropdown.bhs

29 lines
792 B
Text

.topic ctrl.dropdown
.title DropDown
.toc 1 DropDown
.index DropDown
.h1 DropDown
DVX Extension -- DVX Widget: dropdown (non-editable drop-down list)
A read-only drop-down list. Unlike ComboBox, the user cannot type free text; they can only select from the provided items. Supports AddItem/RemoveItem/Clear/List.
.h2 Type-Specific Properties
.table
Property Type Description
--------- ------- -------------------------------------------
ListIndex Integer Index of the currently selected item.
ListCount Integer Number of items (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