同意robertcool的方法:比如你有5个form要创建:
rogram Project1;
uses
Forms,
Unit1 in 'Unit1.pas' {Form1},
Unit1 in 'Unit2.pas' {Form2},
Unit1 in 'Unit3.pas' {Form3},
Unit1 in 'Unit4.pas' {Form4},
Unit1 in 'Unit5.pas' {Form5};
{$R *.RES}
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
ProgressBar1。position:=ProgressBar1。position+1;
Application.CreateForm(TForm2, Form2);
ProgressBar1。position:=ProgressBar1。position+1;
Application.CreateForm(TForm3, Form3);
ProgressBar1。position:=ProgressBar1。position+1;
Application.CreateForm(TForm4, Form4);
ProgressBar1。position:=ProgressBar1。position+1;
Application.CreateForm(TForm5, Form5);
ProgressBar1。position:=ProgressBar1。position+(progressbar1.max-progressbar1.position);
Application.Run;
end.