Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to disable and enable method even
Message
 
To
28/06/2007 21:17:21
Hee Lim Wang
Fantasy Software Enterprise
Malaysia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01236657
Message ID:
01236708
Views:
15
>1)i got some code in MouseEnter and MouseLeave even
>but in click even i want to stop the MouseLeave even...
>how?

Add a property in the form. In MouseEnter set this property to .t., in Click Event set it to .f., then in MouseLeave run the code when this property is .t., something like:
*** MouseEnter
thisform.bRunMouseLeave = .t.
...


*** Click
thisform.bRunMouseLeave = .f.
....

*** MouseLeave
IF thisform.bRunMouseLeave
   ...
ENDIF
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform