Article ID: 128768
Article Last Modified on 5/26/2001
ContainerName.SETALL(cProperty, Value[, cClass])Here cProperty is the property to be set, value specifies the new setting for the property, and cClass specifies the class name of the class on which the object is based (not the Visual FoxPro base class for the object).
ThisForm.Release
THISFORM.Grid1.SetAll('ForeColor',RGB(0,255,0),'header')
THISFORM.SetAll('DisabledBackColor',RGB(128,0,0),'textbox')
THISFORM.SetAll('DisabledForeColor',RGB(255,0,128),'commandbutton')
THISFORM.SetAll('Enabled',.F.,'textbox')
THISFORM.SetAll('Enabled',.F.,'commandbutton')
THISFORM.CommandGroup1.Command1.Enabled = .T. && See note below
THISFORM.CommandGroup1.Command5.Enabled = .T.
THISFORM.Refresh
*NOTE: Alternatively, the contents of this line could be:
*
* THIS.Enabled = .T.
*
* because the code is in the click method of Command1
Additional query words: 3.00 VFoxWin visual property method object class
Keywords: kbcode KB128768