cutec-chris / kcontrols

16 stars 6 forks source link

Drawmodrows #4

Open liuzg2 opened 4 years ago

liuzg2 commented 4 years ago

procedure TKGridCellPainter.Drawmodrows; begin

 if   (State * [gdFixed, gdSelected] = []) and (FRow>=0)  then

begin if FRow mod 2 = 0 then Canvas.Brush.Color := self.FGrid.Color else Canvas.Brush.Color := RGB(240,240,255); end;

end;