Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data environment table with textbtns..
Message
 
À
30/11/1999 11:31:25
Frank Cavone
Monetary Management of Ny, Inc.
Albany, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00296909
Message ID:
00297038
Vues:
17
Hi Frank,

Normally, i do the following: create a class to your textboxes and use it at all your forms. Add at your class designer the follwing code to the GOTFOCUS event:

Public MyValue
MyValue = this.Value

At the LOSTEVENT (or InteractiveChangeEvent, depends of waht you want) event add:

If This.Value ...... && Code to validate error
Messagebox("Error....")
This.Value = MyValue && Give the last value
Release MyValue
Endif


That should work!

Cheers,

Ricardo
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform