A ListBox graphical element allows users to select items from a predefined list.
On this page:
Requirements
This component is Portable. It runs both on Windows and on Web Pages hosted in any platform.
Configuration
Go to Displays / Draw.
On the Components Panel, select Interaction, then ListBox.
Click or drag-and-drop it on the Drawing area to use it.
Double-click the component to open the configuration window.
ListBox Settings | |
---|---|
Field | Description |
LinkedValue | Specifies the variable or tag to which the ListBox is bound. |
Binding | Sets the binding mode for the component. Options are: TwoWay: Updates the data source and UI interchangeably; OutputOnly: Allows data output without user input; InputOnly: Accepts user input without updating the data source. |
SelectedIndex | Specifies the index of the currently selected item in the ListBox. |
Items Source | Determines the source of the items displayed in the ComboBox. Options are: Designer: Allows the ComboBox to display a list of simple text items, configured in the designer. StringTag: Tag with ComboBox items separated by ';' semi-colon. ArrayTag: Allows the ComboBox to display items from an array. DataTable: Allows the ComboBox to display items from a collection of objects.. DataTable Mapping When mapping to a Tag of type DataTable you must select the .Value property of the tag. |
Start Index at One | Sets the index counting to start at one instead of zero when checked. |
MaxItems | Specifies the maximum number of items that the ListBox can display or hold. |
Reload | Specifies a command or function that reloads the items in the ListBox. |
Runtime Execution
When users select an item from a list box, the application updates to reflect the chosen option.
This selection changes the displayed data or configuration settings according to the user's choice.
The list box helps users choose from predefined options, such as a machine type or report format.
In this section: