you could also (in vfp5)
thisform.setall('enabled,.f.,'textbox')>Of course that code should read:
>
>for i = 1 to thisform.controlcount
>IF thisform.controls(i).baseclass="textbox"
>**Or whatever objects you use
>** For data entry, test if their subclass is the current object in the for endfor
>
>thisform.controls(i).enabled=.F. && or .T. to enabled them
>endif
>
>endfor
>
>I must be sleepy with this awful typing - well time for lunch!
>
>Jerry