Article ID: 129280
Article Last Modified on 6/29/2004
nColumncount=this.columncount
* The color of the current control is changed to red for every column
* in the grid.
FOR I=1 to nColumnCount
* Objref returns a reference to the current control
objref=EVAL('this.columns(i).'+this.column1.currentcontrol)
* Modifies the backcolor property of the control. Any property of
* the control can be manipulated this way.
objref.BackColor=RGB(255,0,0)
objref.SelectedBackcolor=RGB(255,0,0)
ENDFOR
Additional query words: VFoxWin
Keywords: kbhowto kbcode KB129280