Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable and enable method even
Message
 
À
28/06/2007 21:17:21
Hee Lim Wang
Fantasy Software Enterprise
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01236657
Message ID:
01236708
Vues:
14
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform