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.