Object Model Reference : Classes : C : CorelScriptTools : Methods : CorelScriptTools.BeginWaitCursor |
Sub BeginWaitCursor()
Member of CorelScriptTools
The BeginWaitCursor method sets the mouse pointer to Busy. On most computers, the Busy pointer appears as an hourglass. This command is useful for scripts that perform long operations. By setting the pointer to Busy, the user is alerted that the script is still executing.
• |
It is good programming practice to use an CorelScriptTools.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.