Einzelnen Beitrag anzeigen

DBR

Registriert seit: 19. Jul 2005
38 Beiträge
 
#3

AW: Komponente Image Designtime zeichnen

  Alt 14. Aug 2022, 12:12
Warum nicht einfach

Code:
constructor TDelphiPaxisTest.Create(AOwner: TComponent);
begin
  inherited Create(AOwner);
    Canvas.Pen.Color := clGray;
    Canvas.Brush.Color := clWhite;
    Canvas.Brush.Style := bsSolid;
    Canvas.Rectangle(0, 0, Width, Height);
end;
Gruß DBR
  Mit Zitat antworten Zitat