4.4.20 Edit Control Properties (General Items) dialog box
The Edit Control Properties dialog box appears when you select and double-click an edit control in the menu form view of the Script Menu Editor window.
The Edit Control Properties dialog box has four tabs: General Items, Common Items, Key, and Style. Click the General Items tab to display the Edit Control Properties (General Items) page.
- Organization of this subsection
(1) Components
In the Edit Control Properties (General Items) dialog box, you can set the following items for an edit control.
- Text
-
Specify the variable that stores the text to be displayed on the edit control.
If you specify an array variable, an error occurs when the menu form is activated.
- Check number of input columns
-
Select this check box to check the number of columns entered by the user.
- Maximum number of columns
-
Specify the maximum number of columns that the user can enter. This field is available only if you select Check number of input columns.
Set a number in the range 1 to 1,024. 10 is set by default.
- Specify action after input completion
-
Select this check box to set an action when the user has finished typing in the edit control. This check box is available only if you select Check number of input columns.
You cannot select this check box if you selected Command select field in the Style page.
- Execute a command
-
A command will be executed at completion of input. This button is available only if you select Specify action after input completion.
- Command number
-
Specify the number of the command to be executed at completion of input. This field is available only if you select Execute a command.
- Command
-
Click to display the Set Command Properties dialog box and set the command properties. This field is available only if you select Execute a command.
- Move focus to other controls
-
The focus moves to a different control at completion of input. This button is available only if you select Specify action after input completion.
- According to tab order
-
Select this check box to have the focus move in the same sequence as the tab order. This check box is available only if you select Move focus to other controls.
- Destination field name
-
Specify the field name of the control to which the focus is to move at completion of input. The drop-down list has the field names of all buttons, browse buttons, edit controls, list controls, and combo boxes on the menu form.
You can set a field name only if you selected Move focus to other controls and you did not select According to tab order.
(2) Operations
-
Click OK to apply the settings and close the Edit Control Properties dialog box.
-
Click Cancel to close the dialog box without applying the settings.
(3) Processing
-
The character string entered in the edit control is stored in the variable specified in Text.
-
Each character entered in an edit control is counted as one column.
-
When According to tab order is selected, the focus moves according to the tab order after the maximum number of input columns is reached.
-
If the field name specified in Destination field name does not exist on the menu form, the focus moves according to the tab order.