Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling and Enabling all controls on Form
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01440952
Message ID:
01440961
Views:
113
This message has been marked as the solution to the initial question of the thread.
They should be ReadOnly, not disabled.

>I have a form that has a PageFrame and several pages on the PageFrame.
>
>What I'd like to do is to protect the existing data and upon INIT of the form, disable all pages of the pageframe, including all of the textbox controls, dropdown boxes, checkboxes, etc. Then, after the user clicks on the EDIT button, I'd like to enable all pages of the PageFrame and all of the controls therein.
>
>What is the best way to do this? I've heard of enabling through a FOR loop, I think, sort of like rolling through a collection.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform