Subject | Drawing Grid Cells |
---|---|
Author | Paul Hope |
Post date | 2000-02-19T13:07:25Z |
I'm trying to color the cells of a TIB_Grid depending on data values in the row
procedure ...DrawCell(Sender: TObject; ACol, ARow: Integer; Rect: TRect; State: TGridDrawState);
I can get the cell text using GetCellDisplayText(ACol,ARow), how can I get other values in the Row not displayed in the grid?
Accessing the TIB_Query current row doesn't work.
Regards
Paul
procedure ...DrawCell(Sender: TObject; ACol, ARow: Integer; Rect: TRect; State: TGridDrawState);
I can get the cell text using GetCellDisplayText(ACol,ARow), how can I get other values in the Row not displayed in the grid?
Accessing the TIB_Query current row doesn't work.
Regards
Paul