Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check for existence of a control on a form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00288347
Message ID:
00288804
Vues:
20
>>IF type('thisform.mycontrol') =="O" AND type('thisform.mycontrol.name') == "C"

>I prefer Jim Booth's way. < g >
>

>IF type('thisform.mycontrol.Name') =="C"
> DO ...
>ELSE
> DO ...
>ENDIF

Well, I DID include that (see first line above) - I just had it check for the Object type as well - redundant, yes, but useful during debugging.
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform