Using a dialog Menu to prompt for validation
The MENU statement has an optional STYLE attribute
that can be set to 'dialog', automatically opening a temporary modal window. You can also
define a message and icon with the COMMENT and IMAGE
attributes. This provides a simple way to prompt the user to confirm some action or
operation that has been selected.
The menu options appear as buttons at the bottom of the window. Unlike standard menus, the dialog
menu is automatically exited after any action clause such as ON
ACTION, COMMAND or ON IDLE. You do not
need an EXIT MENU statement.
