Q
qwert8008
Unregistered / Unconfirmed
GUEST, unregistred user!
我想form1打开的同时,弹出form2,下面这段代码老出错,请指正,谢谢unit Unit1;interfaceuses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls;type TForm1 = class(TForm) Label1: TLabel; procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end;var Form1: TForm1;implementationuses Unit2;{$R *.dfm}procedure TForm1.FormCreate(Sender: TObject);beginform2.showmodal;end;end.