Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mouse Movements on Command Buttons
Message
 
To
07/03/2002 10:48:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00629392
Message ID:
00629627
Views:
10
>>Hi
>>
>>I have coded to chage the picture property of button in MouseMove only.
>>I want to know how I will come to know that Mouse Pointer is not on the
>>button so that I will change the picture property back to the original
>>BMP file.
>>
>>
>>Ashish Patel
>
>Oh, I see. Well, I don't know an easy way to do this without the new VFP7 events.
>
>Hilmar.

For vfp6, you can download the IsMouseOut class from the UT Download section.

You just need to add the object to _screen, form or your app object and call the CheckForMe method with "this" as parameter. When the mouse leave the checked object, it call the OnMouseOut method of the checked object. Of course, you need to subclass the checked object to add the OnMouseOut method.
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...


Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform