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

Changing the style of a cursor when over a link

Status
Not open for further replies.

Viv1

Programmer
Dec 9, 2003
42
GB
Hi,

I have a form which you can use to drill down for more information by clicking on a particular field. This works fine but the cursor doesn't make it obvious that this is a link. Is there any VBA that can be used to make the cursor change style when over the link field?

Many Thanks
 
You can use the mousemove event of the control and set the screen.mousepointer to what you want (e.g. the hourglass, screen.mousepointer = 11). Don't forget to change it back to the default (screen.mousepointer = 0) on the mousemove event of the forms detail. If you do a bit of digging you can use custom mousepointers using screen.mousepointer = 99.

Hope this helps

Harleyquinn
---------------------------------
Help us to help you,
read FAQ222-2244 before posting.
 
An API from TheAccessWeb is often recommended. Here's a link thread181-775804.

Roy-Vidar
 
That was really helpful, thank you.
:)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top