Listbox type¶
listbox_type = LIST_BOX | LIST_BUTTON | LIST_EDIT
LIST_BOX |
This is the default type. It consists of a list of values in a scrollable window, and may be used for single or multiple selections. Single and double click events are supported. |
LIST_BUTTON |
A button whose label is the current selection. When the down arrow button is pushed, a listbox opens from which a new value can be selected. The listbox then closes automatically. Double click events are not supported. A column of cells in a table may be assigned the list button type. See Table cell properties. |
LIST_EDIT |
A textbox into which the value may either be typed, or selected from a popup listbox. When the down arrow button is pushed, a listbox opens from which a new value can be selected. Selecting a value from the listbox is equivalent to typing the value into the textbox. A column of cells in a table may be assigned the list edit type. See Table cell properties. |
A listbox’s type may be changed at run time. It must first be destroyed, which causes all the values in the listbox to be lost.
Default: LIST_BOX
RELATED TOPICS |