Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to reference default class property values
Message
From
24/01/2000 12:28:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00321691
Message ID:
00321705
Views:
18
This is a cheezy way, but it might work: When you first instance the object (VFP 6?), create another object from it, as in oDefault = oObject. When you need to reset a property, use oObject.Property = oDefault.Property.

>Agreed. But I need to do it programmatically in runtime. There must be a way.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform