![]() |
objekt hinzufügen
Heyho !
ich brauche eine flexible anzahl von panels, deshalb will ich diese nicht manuell einfügen sondern per schleife. Hab das auch versucht. Jedoch kam ich auf keine Lösung.
Delphi-Quellcode:
var S:TPanel;
... S.Create(self); S.Width := 20; S.Height := 20; S.Left := 100; S.Top := 100; S.Caption := 1; s.Font.Color := clSilver; S.Name := 'field'; S.Parent := Panel1; Fehler: access violation |
Re: objekt hinzufügen
Hallo,
versuch es mal mit
Delphi-Quellcode:
S:=TPanel.Create(Self)
|
Re: objekt hinzufügen
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 20:05 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz