将Form1的Handle作为参数传过去就行了<br>function ShowForm(PreWndHandle): TModalResult;<br>var<br> Form2: TForm2;<br>begin<br> Form2 := TForm2.Create(Application);<br> Form2.FPreWndHandle := PreWndHandle; <br> try<br> From2.ShowModal; <br> finally<br> Form2.Release;<br> end;<br>end;