Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Thisform.INIT variable scoping
Message
From
03/05/2007 02:07:24
 
 
To
02/05/2007 13:29:08
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01221866
Message ID:
01222093
Views:
11
>I knew someone would ask that... I need to save the value as it is first set when the form is created so I can revert back to it under a certain condition.

Would Object.ResetToDefault(cProperty) work for you?
oCustom=Createobject("Custom")
?"1.",oCustom.Tag
oCustom.Tag="Test"
?"2.",oCustom.Tag
oCustom.ResetToDefault("Tag")
?"3.",oCustom.Tag
Bye, Olaf.
Previous
Reply
Map
View

Click here to load this message in the networking platform