Moin Delphianer !
Hab nen klitze kleines Problem.
Und zwar geht es um die Dynamische Erstellung eines Formulars - Ich weiß das Thema gibt es schon zu genüge - Aber nicht meins.
Bsp.
Ich habe zwei Formulare. Davon ist Form2 verfügbar - also noch nicht geladen.
Ich kann Form2 anhand von...
Delphi-Quelltext
1: 2: 3: 4: 5: 6:
| var a:TForm; begin a:=TForm2.Create(self); a.Show; end; |
...clonen.
Wie kann ich jetzt aber Form2 anhand einer übergabevariable clonen ?
Bsp. - Dieses ist nicht funktionabel ! - Soll nur nen denkanstoß sein.
Delphi-Quelltext
1: 2: 3: 4: 5: 6: 7:
| procedure GoToForm(a:TForm); var b:TForm; begin b:=a.Create(self); b.Show; end; |
Kann mir jemand einen Tip geben, wie ich das oder ähnlich funktionabel bekomme !!!
MfG
Moderiert von
Motzi: Delphi-Tags hinzugefügt.