>Hi,
>How could I do the following with gridhighlighter?
>
>1. I want the left most column of grid to be READONLY.
>2. I want the left most column's control to be container.
>3. I want highlight the row except column 1.
>4. I want to active header and cell to be coloured except column 1.
>
>I have try to do some ways to achieve the above, but not sucsess. Hmm.. i think is better to get your suggestion before I show my "failed" code.
>
>Thank you
To higligh headers
put in beforrowcolchange
If type('this.activecolumn')='N' and ;
this.activecolumn>=2 and this.activecolumn<=this.columncount
This.columns[this.activecolumn].header1.forecolor=rgb(0,0,0)
Endif
in afterrowcolchange
If type('this.activecolumn')='N' and ;
this.activecolumn>=2 and this.activecolumn<=this.columncount
This.columns[this.activecolumn].header1.forecolor=rgb(0,0,255)
Endif
MVP-2006-2011, PHD in Math and Physics ,
host of
www.foxclub.ru,
VFP lector at Interface and Microinform companies
Head science researcher of VNIIA Rosatom.