Autor Beitrag
recall
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 449



BeitragVerfasst: Fr 05.09.03 18:59 
Hallo,

wie mache ich es, wenn ich eine Kompo (zB. ein TEdit) erzeugt habe, die Routine zum Erzeugen sich in Unit1 befindet, ich aber will, dass die Komponente in Form2 (Unit2) in ein Panel1 eingefügt wird ?

Obj: TEdit;
{blablabla... = Komponente wird erzeugt}

Obj.Parent := Form2.Panel1; => geht nicht

Also was tun ???

VIele Grüsse.

//EDIT: Mein Fehler, doofer Fehler, geht doch so wie beschrieben !