Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.EndWaitCursor |
Sub EndWaitCursor()
Member of CorelScriptTools
The EndWaitCursor method returns the pointer to its normal state. If the EndWaitCursor statement is not in a script that uses the CorelScriptTools.BeginWaitCursor statement, the pointer reverts to its normal state after the script finishes executing.
Member of CorelScriptTools
• |
It is good programming practice to use an EndWaitCursor statement with
every BeginWaitCursor statement.
|
In the following code example, the pointer is set to Busy, script execution is paused for 30 seconds, and then the pointer reverts to its normal state.
BEGINWAITCURSOR |
WAIT FOR 30 |
ENDWAITCURSOR |
Copyright 2013 Corel Corporation. All rights reserved.