Einzelnen Beitrag anzeigen

LOMBI
(Gast)

n/a Beiträge
 
#9

Re: DisplayFormat+TStringGridanzeige

  Alt 10. Jul 2007, 20:41
Delphi-Quellcode:
...
  // Zelle einfärben
    if (ARow < FixedRows) or (ACol < FixedCols)
      then Canvas.Brush.Color := clBlue
      else
      if (ARow = Row) and (ACol >= FixedCols)
      then Canvas.Brush.Color := clYellow
      else Canvas.Brush.Color := clWhite;
      Canvas.FillRect(Rect);
  Mit Zitat antworten Zitat