Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to group controls?
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00182318
Message ID:
00182321
Views:
13
Take a look at the SetAll method. You can do THISFORM.Setall('Enabled',.F.). You can also specify the class you want to set the property for. To set it for all textboxes on the form use THISFORM.Setall('Enabled',.F.,'TextBox)

>I've got this problem. I've got some controls on my form and I
>want to enable them all or disable them all.
>
>I can do fo example this
>Thisform.control1.enabled = .T.
>Thisform.control2.enabled = .T.
>.
>.
>.
>Thisform.controlN.enabled = .T.
>
>but I want make it in one row.
>
>Sorry, I am only beginner in VFP and in English too.
Previous
Reply
Map
View

Click here to load this message in the networking platform