simple question, I think

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello all,
How can I get the mouse pointer to change to a HAND when it mouses over a
Clickable label with event code behind it?

The very basics, I seemingly can not understand this concept.

I have reviewed this link, but still am clueless...

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

Any assistance would be greatly appreciated.
 
Paste the code from that page into a module and then, to use it, all that
you have to do is add a single line into the mouse move event of the control
you want to affect...

Private Sub lblName_MouseMove(....standard arguments...)
MouseCursor (IDC_HAND)
End Sub
 
You could also look at using the hyperlink functionality - e.g.

First, create a dummy (empty) macro and call it a name you will
recognise as belonging to your label.

In design view open the label's properties and select the "All" tab.

In the Hyperlink SubAddress open the event builder (Insert Hyperlink
dialogue), and from the lower selection (Named Location in File) -
Browse - select your macro for that label.

Hope this helps.
 

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

Back
Top