is_default = flag;


Activate this button when [Enter] is pressed.


This attribute specifies that a given button is considered the default button when the user presses [Enter]. Only one button in the dialog box is permitted to have the is_default attribute set to true. Typically, you use the is_default attribute for the OK or Apply button.

flag: true or false (default).

Example

is_default = true;

NOTE

    • The is_default attribute does not apply while another button has the focus.
    • Setting the initial_focus to the OK button ensures that is_default applies and allows the user to exit the dialog box quickly.

Valid Tile

button

Tell me about...

Programming Overview of DCL (Dialog Control Language)

About Predefined Attributes