Mode Property - Verify Operation (Magic xpa 3.x)
The available values for Mode are:
Warning – This is the default setting. Magic xpa beeps and displays the specified message, but does not stop the task’s execution. The user is free to ignore the message and continue if the message is displayed in the status bar. The message disappears as soon as the end user presses a key in the message line, or if it is displayed in a message box, the message disappears when the user clicks OK.
Error – After the message is confirmed, Magic xpa will behave according to the following rules:
If the Verify operation is used in the Control level of an Online or Rich Client interactive task:
If you used the Verify operation in the Record Suffix of an Online or Rich Client interactive task:
If you used the Verify operation in the Record Suffix of a Batch or Rich Client non-interactive task:
If you used the Verify operation in other non-interactive levels, such as Task Prefix or Suffix for all tasks, Group levels for Batch tasks, and Record Prefix for all tasks, processing stops and the execution of the level is aborted.
If you used the Verify operation in a handler defined in a parent task, the execution will not be aborted.
Revert – When a Verify Revert operation is executed, an error message box is displayed. The cursor returns to the handled control by executing the operations that precede the Verify operation in reverse order back to the first operation in the handler.
For a Block operation, the Verify Revert mode performs the Block operations in reverse order. For the Block While operation, the Verify Revert mode causes Magic xpa to exit the Block operation and perform the operations preceding the Block While operation in reverse order.
This mode is available for the following handlers:
-
User Events
-
System Events
-
Internal Events
-
Timer
-
Expression
-
Control Prefix
-
Control Suffix
-
Control Verification
SpecialBeepOnWarning