Код:
begin
with TPeekAtCustomDBGrid(Sender) do
begin
if DataLink.ActiveRecord = Row - 1 then
begin
Canvas.Brush.Color := clBtnFace;
canvas.font.Color := clred;
end
else
Canvas.Brush.Color := clWhite;
font.Color := clBlack;
DefaultDrawColumnCell(Rect, DataCol, Column, State);
end;
end;
второй раз исправил этот вроде полностью раб.