hm_setmouse
Use this command in Tcl procedures to show the user that HyperMesh is working.
Syntax
hm_setmouse flag
Type
HyperMesh Tcl GUI Command
Description
Use this command in Tcl procedures to show the user that HyperMesh is working. It can also be used to minimize rapid switching of the cursor when many *commands are executed (each one may turn the cursor off then on).
Inputs
- flag
-
- 0 - turns the cursor off (for example, display hourglass)
- 1 - turns the cursor on (display normal cursor)
Example
To create a macro that displays the "wait" (hourglass) cursor while a lengthy, multi-step
Tcl procedure runs, and then sets the cursor back to normal again when
the procedure finishes:
hm_setmouse 0;
_ lengthy multi-step tcl procedure _
hm_setmouse 1;
Errors
None.