Edgar,
The following should do the trick:
FOR i = 1 TO ThisForm.ControlCount
ThisForm.Controls[i].Enabled = .F.
ENDFOR
HTH,
Dennis
>Hello, i'd like to know how can i disabled elements (comboxes, textboxes, listboxes, etc.) in a form at once?
>
>Thanks for the help.