Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing mouse pointer on mouse down???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Changing mouse pointer on mouse down???
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01409969
Message ID:
01409969
Vues:
78
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform