Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Field control
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00495217
Message ID:
00495225
Views:
13
>In the past I have always used the form builder wizard and the button set that it includes. Io now need to have more control over some forms and am making my first attempt to do so. What I need to do is dissable all of the textboxes and editboxes on a form until an edit button is pressed. I then need to enable all of the boxes so that the user can enter data.
>
>The question is how to do so in the easiest manner possible? It seems that using a for...each would be the best way. What is the syntax that will do this for edit and text boxes?
>
>Also, is this the right approach or is there a better one?
>
>Thanks
>
>Dennis


At design time you can select all the textboxes and set the eneabled property in the properties window.
At Runtime you can simply use
Thisform.SetAll('Enabled',.T.,'textbox')
HTH,
Previous
Reply
Map
View

Click here to load this message in the networking platform