Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining if a Property Exists
Message
From
25/07/2001 09:33:01
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, United Kingdom
 
 
To
25/07/2001 09:27:41
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00534933
Message ID:
00534941
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform