Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I Disable all the textboxes in a form?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00187810
Message ID:
00187873
Views:
19
Sergio,
As Craig, Pete and Randy said, setall() is the way to go. However, if you have more than one textbox class on your form you will have to issue the command for EACH class. For example if you have "MyBaseText" and "MyDateText" classes, you need to issue 2 SETALL commands.
thisform.setall("enabled", .F., "MyBaseText")

thisform.setall("enabled", .F., "MyDateText")
HTH
Barbara

>How can I Disable all the textboxes in a form?.
>
>Is there a way to acces the "enabled" property for all object of a certain kind, within a form? Or do I have to set the Enabled=.F. for each of the objects in the form.
>
>
>
>Sergio.
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform