只需在form2上放一个图片,delphi6测试通过
program Project1;
uses
Forms,
Windows,
Classes,
Sysutils,
Unit1 in 'Unit1.pas' {Form1},
Unit2 in 'Unit2.pas' {Form2},
{$R *.res}
begin
Application.Initialize;
Form2:= Tform2.Create(Application);
form2.Show;
form2.Repaint;
Sleep(5000);
try
form2.Update;
Application.CreateForm(TForm1, Form1);
finally
form2.Close;
form2.Free;
end;
Application.Run;
end.