Command ENABLE
Function:
Enable or disable an item in a dialog box.
Syntax:
ENABLE dlg_id [id] state
| dlg_id | Specifies the identifier of the dialog box that contains the item. |
| id | Specifies the identifier of the item. |
| state | A value that specifies the state of the item. A value of 0 disables the item and a value of 1 enables the item in the dialog box. |
Note:
- When an item in a dialog box is disabled then the item will be greyed out and will not accept any user input.
- All types of items may be enabled or disabled.
- When parameter id is not specified then the state of dialog box is changed.
- Also see command ISENABLED.
|