Autor Beitrag
florida
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 137

Windows 7 Home Premium, Windows XP Professional, Windows 2000
Delphi 2010 Architect
BeitragVerfasst: So 12.09.10 10:13 
Wie kann man in einer Form, die zur Laufzeit erstellt worden ist, Komponenten at Runtime erstellen?
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19346
Erhaltene Danke: 1754

W11 x64 (Chrome, Edge)
Delphi 12 Pro, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 12.09.10 10:37 
Ja, warum nicht?

// EDIT:
Irgendwie hatte ich gelesen "Kann man...?"


Zuletzt bearbeitet von jaenicke am So 12.09.10 12:09, insgesamt 1-mal bearbeitet
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: So 12.09.10 12:04 
Genauso wie in einer nicht dynamisch erstellten Form.
ausblenden Delphi-Quelltext
1:
2:
3:
4:
<Kompo> := <TKompoklasse>.Create (<Owner>);
<Kompo>.Parent := <Parent>;
<Kompo>.Left := ...
...

_________________
Markus Kinzler.