Using the List control, you can add an item selection interface to customized forms. In your list box's properties, you can add items to the selectable list, and define data associated with each item, and use this data in your application. Also, double clicking List controls initiates an event (called the On Double Click event) that you define by adding actions. For information about building events for List controls, see Adding Events to Controls.
Presentation Designer list boxes also offer configurable tooltips and a default selection (see Selected Index below).
|Data||The items that will appear in the list, and the data associated with each item.
When the end user selects an item, that item's data will be the data associated with this control. For example, if you add three items to a list box, then map that list box to a host field, when the end user chooses an item, the data associated with the chosen item gets sent to that host field when the form is processed.
|On Double Click||An event which will occur when an end user double-clicks the control.|
|Return Index||If set to
The first item counts as
Setting this property to
|Selected Index||The number of the item which will appear as the default.
A setting of
|Use Scroll Pane||If set to
The following properties are also available:
Background, Border, Enabled, Font, Foreground, Name, Opaque, Prefix, Screen Binding, Suffix, Tooltip, Width and Height, X and Y.
|Adding Events to Controls|