Hi John!
Use the SetAll method. E.g.:
ThisForm.SetAll("Enabled", .F.)
ThisForm.SetAll("Enabled", .F., "TextBox")
ThisForm.SetAll("Enabled", .F., "CommandButton")
Bye!
> If I have 20 textboxs, couple listboxs, and a few command buttons... and I
> want to enable/disable them all.... is there an easy way I can loop
> through a forms commands and disable them all?
Erick
Força Sempre!
Strength Always!