Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restore to Defaults Button
Message
From
14/02/2008 13:33:32
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
14/02/2008 13:27:58
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01292707
Message ID:
01292717
Views:
28
>>I have a form class and wondered what might be the best approach to put a button on it that would restore values when clicked to whatever they were when the form was first initialized. I can put such a button on an instance of that form and then have a list of things to reset depending on the values, but I would like to make it more generic if possible. Any way that makes sense to use SAVE and RESTORE or something like that? That seems so old school though.
>
>If the items in question are fields of a table, buffering makes this easy. Just use TableRevert().
>
>Tamar

Already got that at the record/field level. Looking for something to reset form properties, variables and other stuff. Probably just have to make it form-specific. Thought it would be cool though.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform