Usage / Programming with DIALOG |
The close action is a predefined action dedicated to close graphical windows (for example, with the X cross button). Unlike singular interactive instructions, the DIALOG instruction does not create an implicit close action.
By default, the DIALOG instruction maps the close action to the ON ACTION cancel action handler, if such handler is defined. If an ON ACTION close block is defined, it is executed instead of the ON ACTION cancel block. This behavior is implemented to execute the cancel code automatically when the user closes the graphical window.
The default action view of the close action is hidden.