View Single Post
  #11  
Old May 11th, 2010, 05:28 AM posted to microsoft.public.access.forms
DRedDog
external usenet poster
 
Posts: 10
Default IsHyperlink Not Working for Unbound Text Boxes

My mouse pointer now changes to a hand as it passes over my unbound text
boxes . And it does not flicker (too much) like some other solutions I have
tried. Thanks to all who have responded; especially Dirk Goldgar and Peter
Hibbs.

DT

"Dirk Goldgar" wrote in message
...
"David Taylor" wrote in message ...
The Click events of the text box controls on a splash screen open forms -
not web pages or files. I want the mouse pointer to change to a hand as
the mouse rolls over each control.
I thought that the text box IsHyperlink property would do this for me -
so I chose text boxes.

I'm stuck with Access 2003 on this one and I don't mind a "little
difficulty".



You can use Windows API calls to change the cursor in the control's
MouseMove event. With the code from this link:

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

... in a standard module, you can set your text box's OnMouseMove property
to this expression:

=MouseCursor(32649)

The cursor will change to a "hand" while the mouse is over the control,
and change back automatically when you move it off the control.

--
Dirk Goldgar, MS Access MVP
Access tips: www.datagnostics.com/tips.html

(please reply to the newsgroup)