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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change the mouse cursor to a pointer

Status
Not open for further replies.

dontay

Programmer
Jan 22, 2003
49
US
Hi all,
How can I change the mouse cursor to a pointer when I place it over a text box?
 
The VBA statement "Screen.MousePointer = 1" will change the mousepointer to an arrow regardless of the type of control being pointed to. It will stay that way until you change it again, even if you close the form. Use "Screen.MousePointer = 0" to reset to the Access default pointer.

If you only want to do this on a particular form and not on others, do it (=1) in the form's Activate event and undo it (=0) in the Deactivate event.

Deb
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top