Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SAVING FORM STATUS
Message
From
27/04/2000 14:18:38
 
 
To
27/04/2000 11:42:43
Pamela Bulmahn
The University of Iowa
Iowa, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00364123
Message ID:
00364209
Views:
17
>I have a very busy form with some object enabled, some disabled, some visible, some invisible, ect.. If the user clicks on a button, I want to disable everything that is enabled, perform that particular method and return to the previous state. What is available which lets me do this (kind of like to 2.6 SAVE SCREEN, RESTORE SCREEN commands)?

You can loop through Form.Controls collection (checking containers too) and populate some form custom property-array with current values of 'Enabled' properties. So, you will do it twice: to collect values and to bring them back to properties. Do it once, save it as Custom object method, and use it for any form.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform