Autor Beitrag
BigBossMan
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 32



BeitragVerfasst: Mi 11.08.04 12:40 
Hallo,

kann man ein MDIChild außerhalb der MDIForm erstellen ? Wenn ja, wie geht das ?

Ich danke im voraus.

Mfg
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Mi 11.08.04 12:49 
Hallo!

Dann wäre es doch kein MDI-Child-Fenster mehr? Nehmen doch einfach ein ganz normale (fsNormal) Fenster.

Gruß
Tino
BigBossMan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 32



BeitragVerfasst: Mi 11.08.04 12:57 
Titel: Fenster mehrmals öffnen
Hallo Leute !!

Dann eine andere Frage. Wie kann man es machen das ein normales Fenster sich so verhält wie ein MDIChild ?
Praktisch nach jedem Buttonclick sich neu öffnet.

Ich danke im voraus.

Mfg
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Do 12.08.04 09:34 
Titel: Re: Fenster mehrmals öffnen
Hallo!

BigBossMan hat folgendes geschrieben:
Praktisch nach jedem Buttonclick sich neu öffnet.

Das "MDI"-Form muss in dem Projektoptionen so eigestellt werden dann es nicht automatisch erzeugt wirde. Dann im OnClick-Event des Buttons folgendes rein schreiben:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
var
  MyNewForm: TForm2;
begin
  MyNewForm := TForm2.Create (Application.MainForm);
  MyNewForm.Show;
end;


Gruß
Tino
BigBossMan Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 32



BeitragVerfasst: Do 12.08.04 13:15 
Titel: Re: Fenster mehrmals öffnen
Vielen Dank Tino.

Mfg