Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid method in a grid textboxes
Message
De
29/03/2001 09:38:56
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00489616
Message ID:
00489838
Vues:
11
I use the following approach which works well in that the Valid method fires only when the user makes a change to the text box.

I set up a property THISFORM.changed.

In GotFocus:
THISFORM.changed = .F.

In InteractiveChange
THISFORM.changed = .T.

In Valid:
If THISFORM.changed
Check validity of data
ELSE
Return
ENDIF

In LostFocus
THISFORM.changed = .F.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform