Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I Disable all the textboxes in a form?
Message
 
To
15/02/1999 16:21:24
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00187810
Message ID:
00187824
Views:
21
>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.

Sergio,
use the Setall method from the container object ( in your case the form ),

e.g. to disable all textboxes on a form try this

thisform.SetAll('enabled',.f.,'whateveryourtextboxclassiscalled')

Regards
Pete Kane
Regards,
Peter J. Kane



Pete
Previous
Reply
Map
View

Click here to load this message in the networking platform