Applies To: | Form |
Description
This is a Boolean property that specifies whether or not an [OK] button appears in the title bar of a Form. Its default value is 0.
OKButton applies only to PocketAPL. In versions of Dyalog for other platforms, it has no effect.
OKButton may only be specified when the Form is created using ⎕WC; you cannot subsequently change its value.
If OKButton is 1, the Form displays an [OK] button in its title bar in place of the standard [X] button.
When the user clicks the [OK] button, the system will press the default button, which is specified by the Default property of a Button on the Form.
If there is no default button, the Form will generate a Close event.