Ich rate mal Du machst folgendes:
Delphi-Quellcode:
procedure TForm1.FormCreate(Sender: TObject);
begin
With TForm2.Create(Application) do
begin
Showmodal;
Free;
end;
end;
dann schafft folgendes Abhilfe
Delphi-Quellcode:
program Project2;
uses
Forms,
Unit1 in 'Unit1.pas' {Form1},
Unit2 in 'Unit2.pas' {Form2};
{$R *.res}
begin
Application.Initialize;
Application.MainFormOnTaskbar := false;// das hier
Application.CreateForm(TForm1, Form1);
Application.Run;
end.