SUCCESSMESSAGE keyword

Applies to

Only the response of event handlers

Description

Use this keyword to specify message text to be displayed if the event handler succeeded. The parameters of the keyword can contain substitution keywords; in addition, they can name a string. If the resulting data is empty, then WinStudio does not display a message. All of this allows you to use the SUCCESSMESSAGE keyword dynamically, as in

SUCCESSMESSAGE(V(MessageVariable))

where a script may set the value of the MessageVariable variable. If the variable is empty, Windows client does not display the message.