4.4.28 List Control Properties (General Items) dialog box
The List Control Properties dialog box appears when you select and double-click a list control in the menu form view of the Script Menu Editor window.
The List Control Properties dialog box has four tabs: General Items, Common Items, Key, and Style. Click the General Items tab to display the List Control Properties (General Items) page.
- Organization of this subsection
(1) Components
In the List Control Properties (General Items) dialog box, you can set the following items for a list control.
- Acquire text from a variable
-
Select this check box to acquire the text that is to appear in the list from a variable.
- Variable name for text display
-
Specify a variable name for setting the text in the list.
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 that is to appear in the list. You cannot set Text if you select Acquire text from a variable.
- Clear
-
Deletes the data from the list. You cannot choose Clear if you select Acquire text from a variable.
- Variable name for selected data
-
Specify a variable name for setting the list status.
In the following cases, an error occurs when the menu form is activated:
-
Acquire text from a variable is unselected and the variable name is an array variable.
-
Acquire text from a variable is selected, the user can select only one item in the list, and the variable name is an array variable.
-
Acquire text from a variable is selected, the user can select multiple items in the list, and the variable name is a two-dimensional array variable.
-
(2) Operations
-
Click OK to apply the settings and close the List Control 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 list.
-
The following values are set in the variable specified in Variable name for selected data:
- When Acquire text from a variable is selected:
-
Index numbers of the selected data in the variable specified in Variable name for text display.
- When Acquire text from a variable is unselected:
-
Item numbers if only a single item can be selected in the list.
A numeric string in the form 001002003 ... 100 if the list allows multiple items to be selected.