Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Disabling and Enabling all controls on Form
Message
 
 
To
28/12/2009 17:50:34
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:
01440962
Views:
58
>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.

I agree, Cecil, ReadOnly sounds much better than disabled. And also it looks better as well.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform