Home Search

DriveWorks Pro 21
List Box

Send Feedback

List Box

The List Box displays a  scrollable box from which an item can be selected.

When the form control is applied the name entered will display as the caption for the form control. This can be changed by selecting the Caption property.

When an item in the list box is selected the form control reports the exact item as it appears in the control.

Items are added to the control from the Items property.

Use the pipe-bar to separate each item, for example:

= "Item A|Item B|Item C"



The Rule Builder has some functions and helpers that assist with entering values into the items property. This can be done by manually typing the items or by using  Define Tables, see List, ListAll, ListAllConditional, ListAllConditionalDistinct and ListAllDistinct.

Display in iOS browser (DriveWorks version 18.0 and older)

The List Box Control in a Form, will display as a drop-down list when viewed through any browser running on iOS (for example on iPad or iPhone).

This issue is specific to iOS and does not affect browsers running on Android or Windows platforms.

This is not an issue with DriveWorks version 18.1 and newer.

List Box Properties

Appearance PropertiesBehavior Properties
Background ColorClear Selection Allowed
CaptionDefault Value
Caption ColorEnabled
Caption FontError Result
Caption Horizontal AlignmentItems
List Item ColorSelected Item
List Item FontSelected Item (Override Rule)
Selected Item Removed Behavior
Tab Index
Macro Argument
On Change
General PropertiesLayout Properties
(Metadata)Caption Width
Tooltip DurationTop
Tooltip TextWidth

A user form control that allows a single item to be selected from a scrollable list.