Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A simple question
Message
From
18/05/2004 13:53:16
 
 
To
18/05/2004 12:35:37
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00904997
Message ID:
00905027
Views:
19
I think you can only save the original value and return it that way. ResetToDefault doesn't work on all properties. I suspect (but I can't find this in the docs anywhere), you can only ResetToDefault properties that are not free-form values. In other words, I think the values must come from a defined list (like fontname, border type etc).

Alan

>I have a property
>
>myProperty = VCXorPRGDefaultValue
>
>
>On program i can restore it with
>
>Class::ResetTodefault('myProperty')
>
>
>but if i put the class on a SCX, with
>
>myProperty = SCXDefaultValue
>
>
>how I can restore the value to the SCXDefaultValue?
>
>Thanks.
Previous
Reply
Map
View

Click here to load this message in the networking platform