Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A ComboBox graphical element allows users to select items from a predefined list, with configurations for data binding, item source, and index settings. It supports LinkedValue for dynamic updates, binding modes like TwoWay, OutputOnly, and InputOnly, and different item sources such as Text, Array, and Object. The component runs on Windows and web platforms, and users can configure it through a graphical interface. It supports editable inputs, custom index starting points, max item limits, and reload functions for dynamic data updates.

On this page:

Table of Contents
maxLevel3
styleNone


Requirements

This component is Portable. It runs both on Windows and on Web Pages hosted in any platform.


Configuration

After dragging and dropping the component into the Drawing area, double-click it to open the graphical element configuration window.

Combo Box Settings

Field

Description

LinkedValue

Specifies the variable or tag that the ComboBox is bound to. Ensures that the selected value in the ComboBox is linked to the specified data source, allowing for dynamic updates and data binding.

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 ComboBox. Allows the application to track the selected item and update other components accordingly.

Items Source

Determines the source of the items displayed in the ComboBox. Can be bound to a list or collection, and users can specify the type of data, such as text or objects. Options are:

Text: Allows the ComboBox to display a list of simple text items. Useful for representing straightforward string values such as machine states or operational modes.

Array: Allows the ComboBox to display items from an array. Suitable for predefined sets of options, such as lists of sensor IDs or operational steps, enabling efficient management of uniform data.

Object: Allows the ComboBox to display items from a collection of objects. Ideal for complex data representation where each item has multiple attributes, such as equipment lists with properties like name, ID, and status.

Is Editable

Allows users to type in the ComboBox to add new items or select existing ones when checked. Useful for scenarios where predefined options are not sufficient.

Start Index at One

Sets the index counting to start at one instead of zero when checked. Useful for user interfaces where the indexing needs to align with non-programmatic conventions.

MaxItems

Specifies the maximum number of items that the ComboBox can display or hold. Limits the number of items to prevent overload and improve performance.

Reload

Specifies a command or function that reloads the items in the ComboBox. Ensures that the ComboBox displays the most current data, useful for dynamic or real-time data sources.



Runtime Execution

When users select an item from a combo 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 combo box helps users choose from predefined options, such as a machine type or report format.


In this section:

Page Tree
root@parent
spacesV10