Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining if a Property Exists
Message
De
25/07/2001 09:33:01
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
 
 
À
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:
00534941
Vues:
12
>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


Hi,

PEMSTATUS should still work, try this:
x = createobject("form")
x.addproperty ("Testing")
x.testing = 1212
? pemstatus(x, "testing", 5)
Regards
Mark

Microsoft VFP MCP
Menulib - OO Menus for VFP www.hidb.com/menulib
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform