Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check for existence of a control on a form
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
How to check for existence of a control on a form
Divers
Thread ID:
00288347
Message ID:
00288347
Vues:
63
I have some code in my Base Class which operates on form controls. Sometimes, for certain forms, these controls wont exist. Is there a way of checking for the existence of a control on a form .i.e.

if ThisForm.Mycontrol exists
do....
else
do ....
endif

Thsi code would want to be able to check for any control, i.e. Txtbox, Shape, Gris etc.

Regards,

Gerard
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform