Einzelnen Beitrag anzeigen

Dragonhunter1720
(Gast)

n/a Beiträge
 
#9

Re: bild in draw- oder stringgrid laden

  Alt 1. Apr 2008, 22:04
procedure TForm1.DrawGriddhDrawCell(Sender: TObject; ACol, ARow: Integer;
Rect: TRect; State: TGridDrawState);

alt: DrawGriddh.Canvas.FillRect(CellRect(0, 0),bild.Picture.Graphic);

neu: DrawGriddh.Canvas.Rect(CellRect(0, 0),bild.Picture.Graphic); -->undefinierter bezeichner: rect
DrawGriddh.Canvas.FillRect(Rect(0, 0),bild.Picture.Graphic); -->operator oder semikolan fehlt

***bin noch anfänger
  Mit Zitat antworten Zitat