ok_cancel;


Display OK and Cancel buttons.     DCL Error Handler Tile


This error handler tile displays the OK and Cancel buttons.

Notice that the format of this tile differs from most other tiles: there is no : (colon) prefix nor { ... } (brace) suffix.

The program pre-assigns a key to each button, as follows:

Button Key
OK "accept"
Cancel "cancel"

NOTE To display only the OK button in a dialog box (for example, in a message or alert box), use the ok_only.

Valid Attributes

none

Example

ok_cancel;

Related DCL Tiles

errtile

ok_only

ok_cancel_help

ok_cancel_help_errtile

ok_cancel_help_info

Tell me about...

Programming Overview of DCL (Dialog Control Language)

About Predefined Attributes