The Listboxes main properties are explained below:
| Property | Changes... |
| Name | Control Reference |
| Text | Default Text displayed |
| List | Items on the dropdown list |
| Style | The listbox style (see above) |
| Sorted | whether the listbox is automatically sorted (read-only at runtime) |
| Multiselect | whether you can select more than one item at a time (must be set to False when Style = Checkbox) |
| Columns | the number of columns the items are displayed in when they do not fit in the screen |
The ListBox control has the following main events:
| Event | Occurs When... |
| Click() | The ListBox is clicked |
| DblClick() | The ListBox is double clicked |
| Change() | The selected item changes |
| GotFocus() | The ListBox is selected |
| ItemCheck() | When an item is checked or unchecked |
Comments