alertyesnocancel
TEXT

The alertyesnocancel statement displays a modal alert window with a message and three buttons: Yes, No and Cancel.


Parameters

This statement has one parameter:

text – is the message to display.


Description

This statement displays a modal alert window with a message and three buttons: Yes, No and Cancel (Yes is the default.) Afterwards, the name of the button that was clicked can be accessed with the info(“dialogtrigger”) function.

alertyesnocancel "Do you want to continue?"
if info("dialogtrigger") = "Cancel"
    stop
endif
if info("dialogtrigger") = "No"
    Status = "Hold"
else
   ...
   ...
   ...
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 accomodate the specified text.