>>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