Configuring a Static Combo Box Animation
- Last UpdatedJul 13, 2023
- 2 minute read
You can configure a combo box with static values and captions.
To configure a static combo box animation
-
Select the combo box element.
-
On the Special menu, click Edit Animations. The Edit Animations dialog box appears and the Static Combo Box configuration panel appears on the right side.
-
In the Reference box, type an equipment.item reference that is to be tied to the selected value at run time.
You can select when to submit the value changes. For more information, see Submitting the Value Changes.
-
In the Static Values and Captions list, configure the captions of the combo box and also the values that correspond to them:
-
Add an option - click the Add icon.
-
Delete an option - select it in the list and click the Remove icon.
-
Move an option up the list - select it in the list and click the Arrow up icon.
-
Move an option down the list - select it in the list and click the Arrow down icon.
-
-
Specify how you want to use captions. Do one of more of the following:
-
To use the values themselves as captions, select Use Values as Captions.
-
To alphabetically sort the captions, select Sorted.
-
To enable duplicate captions, select Allow Duplicates.
Note: If you clear Allow Duplicates and click OK, all duplicate captions are removed from combo box on the canvas. The captions are case-insensitive, so that for example "item1" is considered a duplicate of "Item1". The removal of the duplicate items is reflected when you re-open the Edit Animations dialog box.
-
-
Select the type of combo box from the Type list. Select:
-
Simple - at run time you can type a value, or select one by using arrow up and arrow down buttons. However, you cannot see the list of values.
-
DropDown - at run time you can type a value, or select one from the list.
-
DropDownList - at run time you can only select a value from the list, but not type one.
-
-
Click OK.