Autor Beitrag
Freeman_6
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 19



BeitragVerfasst: Mi 20.10.04 07:32 
hi,

wenn man ein programm mit mehreren forms hat. wann sollte man diese erstellen? alle beim start sowie es automatisch von delphi angelget wird? oder erst sobalb man sie auch benutzt?

MFG

Freeman_6
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mi 20.10.04 07:40 
Bei kleinen Programmen (2-3 Forms) vielleicht automatisch. Ich habe mir angewöhnt, alle zur Laufzeit anzulegen. Der Programmstart ist dann schon ein bisschen schneller :wink:
Edit: Ressourcen werden so übrigens auch gespart.
karahead
Hält's aus hier
Beiträge: 7



BeitragVerfasst: Mi 20.10.04 11:51 
Hi hab mal ne Frage:
Wenn man eine MDIForm hat und die Childs erst zur laufzeit erzeugen will, wie macht man das?

Danke
jasocul
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 6395
Erhaltene Danke: 149

Windows 7 + Windows 10
Sydney Prof + CE
BeitragVerfasst: Mi 20.10.04 12:18 
Fürs nächste mal: Neue Frage -> Neues Topic.

Nicht anders als sonst:
ausblenden Delphi-Quelltext
1:
  Form1 := TForm1.Create(Self);					


Falls du dabei Probleme hast, dann mach ein neues Topic und zeig ein bisschen Code.
karahead
Hält's aus hier
Beiträge: 7



BeitragVerfasst: Mi 20.10.04 12:48 
Ja hab zur Zeit nix mit MDIs zu tun, aber wenn ich was mach meld ich mich schon. Auch mit Code :D

War nur ne Frage aus neugier. Danke