alertyesno
TEXT

The alertyesno statement displays a modal alert window with a message and two buttons: Yes and No.


Parameters

This statement has one parameter:

text – is the message to display.


Description

The alertyesno statement is similar to the message statement but instead of a single Ok button, both Yes and No buttons are displayed (Yes is the default.) Afterwards, the name of the button that was clicked can be accessed with the info(“dialogtrigger”) function.

alertyesno "Do you want to continue?"
if info("dialogtrigger") = "No"
    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 accomodate the specified text.