Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing cursor to hourglass? 1

Status
Not open for further replies.

interval

Programmer
Jun 16, 2000
3
0
0
US
How do you temporarily change the cursor to an hourglass?  Thanks.
 
Try Screen.MousePointer = 11. To change it back to normal, do a Screen.MousePointer = 0.<br><br> <p> <br><a href=mailto: > </a><br><a href= plain black box</a><br>
 
If you want additional options, review the MousePointer property for a list of constants.
 
You can use the constants in VB6<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' begin the process, change to hourglass<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Screen.MousePointer = vbHourglass<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' Process something here<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;' set it back to normal<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Screen.MousePointer = vbDefault
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top