msgcancelled()

Function group Execute on client Platform(s)
General YES All

Syntax

msgcancelled()

Description

Returns true if the user Cancel button is pressed on a message box.

For example, you can use this to distinguish between No and Cancel on a Yes/No message which both clear the flag.

Example

Yes/No message (Cancel button) {Do you want to proceed?}
If flag false
  If not(msgcancelled())
    # user chose No
  End If
Else
  # user chose Yes
End If