Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing mouse pointer on mouse down???
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Changing mouse pointer on mouse down???
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01409969
Message ID:
01409969
Views:
79
I have a shape on my form with the following settings:

MousePointer = 99 - Custom
MouseIcon = g:\mywork\openhand.cur

When I run the form and pass the pointer over the shape it changes to the open hand.

I then added code in the shape methods:

MouseDown
LPARAMETERS nButton, nShift, nXCoord, nYCoord
This.Mouseicon = "g:\j5web\movehand.cur"

MouseUp
LPARAMETERS nButton, nShift, nXCoord, nYCoord
This.Mouseicon = "g:\j5web\openhand.cur"

I thought this would cause the open hand to change to the closed hand on the mouse click but it does not change. Where did I go wrong?
Thanks
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Next
Reply
Map
View

Click here to load this message in the networking platform