Subject Re: [IBO] tib_grid title color for sorted column
Author Geoff Worboys
> In a tib_grid, I want to only color the title rectangle and not the
> whole column for the column that is sorted.

This code works...

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