4.4.32 Combo Box Properties (General Items) dialog box
The Combo Box Properties dialog box appears when you select and double-click a combo box in the menu form view of the Script Menu Editor window.
The Combo Box Properties dialog box has four tabs: General Items, Common Items, Key, and Style. Click the General Items tab to display the Combo Box Properties (General Items) page.
- Organization of this subsection
(1) Components
In the Combo Box Properties (General Items) dialog box, you can set the following items for a combo box.
- Acquire text from a variable
-
Select this check box to acquire the text to appear in the combo box from a variable.
- Variable name for text display
-
Specify a variable name for setting the text to appear in the combo box.
You can enter a variable only if you select Acquire text from a variable. If you specify a two-dimensional array variable, an error occurs when the menu form is activated.
- Text
-
Type the text to appear in the combo box. You cannot set Text if you select Acquire text from a variable.
- Listed data
-
Lists the data to appear in the list attached to the combo box. The list is disabled if you select Acquire text from a variable.
- Add
-
Adds the data specified in Text to the end of the list displayed in Listed data.
This button is disabled if you select Acquire text from a variable.
- Insert
-
Inserts the data specified in Text above the data selected in Listed data.
This button is disabled if you select Acquire text from a variable.
- Update
-
Updates the data selected in Listed data with the data specified in Text.
This button is disabled if you select Acquire text from a variable.
- Delete
-
Deletes data selected in the list. This button is disabled if you select Acquire text from a variable.
- Move Up
-
Moves data selected in the list up one line. This button is disabled if you select Acquire text from a variable.
- Move Down
-
Moves data selected in the list down one line. This button is disabled if you select Acquire text from a variable.
- Variable name for selected data
-
Specify a variable name for setting the status of the combo box. If you specify an array variable, an error occurs when the menu form is activated.
- Drop-down line count
-
Specify the number of lines to appear in the drop-down list attached to the combo box.
Set a number in the range 1 to 100. 5 is set by default.
(2) Operations
-
Click OK to apply the settings and close the Combo Box Properties dialog box.
-
Click Cancel to close the dialog box without applying the settings.
(3) Processing
-
When Acquire text from a variable is selected, any elements without a value in the variable specified in Variable name for text display do not appear in the drop-down list.
-
The variable specified in Variable name for selected data stores the text that the user selects or enters in the combo box.