Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to disable and enable method even
Message
De
29/06/2007 21:21:59
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:
01236951
Vues:
11
Thanks !

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform