Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi DBGrid Bild zeichnen unschöner Rahmen ... (https://www.delphipraxis.net/102834-dbgrid-bild-zeichnen-unschoener-rahmen.html)

dot 5. Nov 2007 19:57


DBGrid Bild zeichnen unschöner Rahmen ...
 
Liste der Anhänge anzeigen (Anzahl: 1)
Hallo Leute,

versuche einige bilder in mein DBGrid einzuzeichnen, komischerweise ist da immer ein unschöner punktierter Rahmen drumherum, wie kommt das?

Delphi-Quellcode:
   with Sender as TDBGrid do
    begin
      Canvas.Brush.Color := clWhite;
      Canvas.FillRect(Rect);
      aImageList.Draw(Canvas, Rect.Left, Rect.Top, index);
      Canvas.DrawFocusRect(Rect);
    end;

dot 5. Nov 2007 20:08

Re: DBGrid Bild zeichnen unschöner Rahmen ...
 
oh man bin ich eine Pfeife

Delphi-Quellcode:
    with Sender as TDBGrid do
    begin
      Canvas.Brush.Color := clWhite;
      Canvas.FillRect(Rect);
      aImageList.Draw(Canvas, Rect.Left, Rect.Top, index);
      //Canvas.DrawFocusRect(Rect);
    end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 10:53 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz