Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining if a Property Exists
Message
 
À
25/07/2001 09:27:41
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00534933
Message ID:
00534952
Vues:
14
>If an object has a property created using AddProperty() how can I check to see if that property actually exists? I'm checking in order to run certain code only one time for an object as it can't be in the object's Init due to the order of the events fired. Thanks!
>
>Regards, Renoir

You can also used TYPE().
? TYPE('oObj.Property') && Returns "U" if it doesn't exist
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform