alertsavecancel
TEXT

The alertsavecancel statement displays a modal alert window with a message and two buttons: Save 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 two buttons: Save and Cancel. (Save is the default.) Afterwards, the name of the button that was clicked can be accessed with the info(“dialogtrigger”) function.

alertsavecancel "Do you want to save?"
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 accomodate the specified text.