cancelok
TEXT

The cancelok statement displays a modal alert window with a message and two buttons: Cancel and Ok.


Parameters

This statement has one parameter:

text – is the message to display.


Description

This statement displays a modal alert window with a message and two buttons: Cancel and Ok. (Cancel is the default.) Afterwards, the name of the button that was clicked will be in the clipboard.

cancelok "Do you want to continue?"
if clipboard() = "Cancel"
    stop
endif
...
...
...

Note: This statement is retained for compatibility with legacy databases. For new applications, the alertcancelok statement, which does not disturb the clipboard, is recommended.


See Also


History

VersionStatusNotes
10.0UpdatedCarried over from Panorama 6.0 but does not have 255 character limit, and automatically grows in height to accomodate the specified text.