alertcancelok
TEXT

The alertcancelok 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 can be accessed with the info(“dialogtrigger”) function.

alertcancelok "Do you want to continue?"
if info("dialogtrigger") = "Cancel"
    stop
endif
...
...
...

See Also


History

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