Contents Up Previous Next

Creating a listbox item

Left-click on the listbox icon on the object palette, and left-click again on the object editor inside a panel or dialog box object. The listbox properties editor will be shown, with the following controls.

Name
The name of this listbox.
Description
A textual description of the listbox.
Label
Label for the listbox.
Auto size
If checked on, the listbox will size according to wxWindows defaults. If off, the size will be determined by interactively sizing the listbox from the object editor.
Label position
Horizontal, vertical or default label placement.
Values
A list of default string values.
Value
Text field for entering a listbox value.
Add
Add the text in the current field to the list of default values.
Delete
Delete the currently selected item.