Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When does my mouse cursor leave an object
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00080256
Message ID:
00080981
Views:
39
>>Is there a way to tell when the mouse cursor has left a control? For example, I want to know when my mouse cursor leaves a container control so I can set properties of that container i.e(raised,flat,sunken) etc. I have seen a technique using MROW() and MCOL() in a timer event, but I was wondering if there was another technique someone is using that I could try!
>>
>>Thanks.
>>
>>John.
>
>
>Check out what's New last 5 days and you can download the following class
>
>OnMouseOut( )
>This zip file contain a classlib with all you need to enabled a OnMouseOut event in your objects! It also contain a sample form, try it...
>
>See the 'ReadMe' method of the IsMouseOut Object for more info.
>
>Gérald Santerre
>
>
>Russ


BTW, for some class type (like container) if you issue
'this.SpecialEffect=0' in the MouseMove event (or OnMouseOut)nothing appen!

This.Refresh() does not help...

To force a redraw of the control you need to add a 'this.left=this.left', the control think(?) it have moved and redraw itself.

Bizzare!

:0)
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