>I am trying to make an application fool proof by enabling and disabling using:
>IF THIS.Value= 1
> THISFORM.PAGEFRAME1.PAGE3.TXTFSTNAME2.ENABLED=.F.
>ELSE
> THISFORM.PAGEFRAME1.PAGE3.TXTFSTNAME2.ENABLED=.T.
>ENDIF
>
>However I have 46 Txt boxes to disable if the user answers 1. Is there a way to put all these into an Inlist()?
Check SetAll(). ie:
THISFORM.PAGEFRAME1.PAGE3.SetAll('ENABLED', !(this.Value=1),'TextBox')
Cetin