Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a Control (or a container) to validate its contents
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Using a Control (or a container) to validate its contents
Divers
Thread ID:
00030015
Message ID:
00030015
Vues:
75
I am trying to create my own custom controls using both the Control and Container object. I am using the LostFocus event to validate my custom control by setting the focus back into the control if it is not valid. This almost works, but like usual VFP has to spoil things. Checkboxes can still be checked outside of my control and the Form can be closed even if the data is invalid.

Does anyone have a sure solution to the VALIDATION OF A CONTROL OR CONTAINER?????


TIA,
Peter

btw, my control is a date picker control.
Peter Stephens
Visual Records, Inc.

Lead Programmer for the general purpose record keeping system Visual Records. Written primarily in VFP 6.0 with a little C++.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform