Mouse pointer

G

Guest

Anyone there who knows how to change the mouse pointer in VBA? What im
trying to do is to change the pointer when the mouse hovers over a label
(just like in web pages....) Is there a way to implement that in Access
databases? thanks in advance.
 
D

Dirk Goldgar

V Ramos said:
Anyone there who knows how to change the mouse pointer in VBA? What
im trying to do is to change the pointer when the mouse hovers over a
label (just like in web pages....) Is there a way to implement that
in Access databases? thanks in advance.

There is an Application.MousePointer property, but unfortunately its
options don't include the "hand" icon. You can put a transparent
command button over the label and set the button's HyperlinkAddress
property -- that will make the "hand" appear, but the hyperlink address
will appear in a tooltip. Or you can call the Windows API to set the
mouse pointer, as detailed here:

http://www.mvps.org/access/api/api0044.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

mouse pointer 2
Form Buttons 4
Command Button Rollovers 8
Mouse pointer 1
Mouse gone rogue 9
Holy Cow!!!! 2
IsHyperlink not working for Unbound Textbox 10
Code For On Mouse Move Event 6

Top