Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Time for a change of scenery
Message
 
 
To
14/07/1998 16:06:22
Zaraq Bari
Bari Studios Limited
Lahore, Pakistan
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00117307
Message ID:
00117365
Views:
16
Zaraq,

YOu either need to detect the mouse move in the parent (this is iffy and not guaranteed to occur) or use a timer object that will reset the picture if the mouse is not over the button when the timer fires.

>I want to change picture1 on a command button with picture2 when the mouse cursor is on that button.I have placed code in the mouse move event to change the picture1 to picture2 but when the mouse cursor moves away from the command button the second picture remains.How do I bring back the first picture on the command button?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform