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.