Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I know If a Object exist?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00159912
Message ID:
00160065
Vues:
25
>I'd like to know i a Object exist on my form when I call it.
>For Example: I'd like to know if "command1" exist

Another way, with less code is
? TYPE('objectname' + .name) = 'C'

Null objects don't have a name. All other VFP objects do.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform