AdvGrid RowColor

Hi to all again,

maybe j miss this function ....

There's a way to get the row color??

J can set the color with Grid.RowColor[Row]=Mycolor, but how can read the color in a different time in order to rechange the row color ? like if grid.getrowcolor(row)=clred then .....

thank's in advance



As grid.RowColor sets the color of all cells in a row in one operation, you can read back the color by getting the color value of one cell in this row, i.e. by using grid.Colors[col,row]: TColor;