Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining existence of an object
Message
 
À
09/08/1999 18:23:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00251780
Message ID:
00251909
Vues:
19
>IF VARTYPE(oMyObject) = "O" && It's an object

John,

This will fail on certain circumstances, for example;
oObj = CReateObject("Form")
? TYPE("oObj") && O
?TYPE("oObj.Name") && C
oObj = NULL
?TYPE("oObj") && O
?TYPE("oObj.Name") && U
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform