Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reset Object's Default Property Value
Message
From
09/05/2001 11:35:56
 
 
To
09/05/2001 10:25:14
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00505278
Message ID:
00505317
Views:
20
This message has been marked as a message which has helped to the initial question of the thread.
>Is there a command to reset an object's default setting for a property? I've needed this a number of times in the past, but currently I'm changing the Top property value for an editbox on GotFocus and want to reset it to its default value on LostFocus without having to track the value in code or in a new property. Thanks!
>
>Regards, Renoir

Just to add to Duncan's accurate info, it was mentioned in another thread that unless you know the particular control has the ResetToDefault() mthod, you might want to use PEMSTATUS() to make sure it does since some controls do not have it and an error will be thrown.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform