yesno
TEXT

The yesno 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

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

yesno "Do you want to continue?"
if clipboard() = "No"
    stop
endif
...
...
...

Note: This statement is retained for compatibility with legacy databases. For new applications, the alertyesno 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.