Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent Textbox Valid from Firing if Mouse is clicked
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00676263
Message ID:
00676409
Vues:
12
>That worked. Thanks Sergey!

Mark,

I would adjust the code slightly to;
llMdown = MDOWN()
IF EMPTY(This.Value) and NOT llMDown
  ...
Why? Because the user can click the mouse quickly and the button may be back up before the first part of the IF is evaluated. BY saving MDOWN() to a var as the first executable line of code you diminish the possibility of the mouse click being missed.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform