Subject | Re: [IBO] tib_grid title color for sorted column |
---|---|
Author | Geoff Worboys |
Post date | 2002-01-18T21:51:47Z |
> In a tib_grid, I want to only color the title rectangle and not theThis code works...
> whole column for the column that is sorted.
if (ARow < IB_Grid.FixedRows) and (ACol >= IB_Grid.FixedCols) and
(IB_Query.OrderingItemNo <> 0) and
(IB_Grid.DataCol[ACol] = IB_Query.OrderingField.FieldNo) then
AColor := clLime;
hth
--
Geoff Worboys
Telesis Computing