Changing pointer icon like web page hyperlinks do

Stuart Green

Registered User.
Local time
Today, 13:28
Joined
Jun 24, 2002
Messages
108
Is it possible on a form (not a page) to have the pointer item change when over an image just as happens on hyperlinks in web pages? I have been messing about with the hourglass option in macros with "on mouse move" event as a possibility but this would need some form of loop to keep it showing/the macro running.
 
look up mousepointer in VB Help.

I played around with the mousemove event on the form with the following code.

Screen.mousepointer = ?

There are not many options but.

Try to set the code on the form detail mousemove code to:

Screen.mousepointer = 0 'this resets the mouse pointer to normal

and then on the mousemove event a command button:

Screen.mousepointer = 3

HTH

Dave
 
Dave, many thanks that did just what I wanted it to do. Just like Access though, gives with one hand then takes with another.. why such a small number of icon options.
 
A simple trick I discovered is you can easily make the mouse pointer change in the "pointing finger" like a web page displays when you hover a web link. For each object (button, text box, etc.) that you want to change into the pointing finger, just key a single space into the objects 'Hyperlink Address' property format field. You will then need to remove the blue underlined formatting because Access thinks this is a hyperlinked object but it will not go anywhere nor call up your browser when you use it this way. Any OnClick events for that object will not be adversely affected.

HTH
 

Users who are viewing this thread

Back
Top Bottom