为什么我的老是出现:
[Error] Unit1.pas(63): Undeclared identifier: 'TForm3'
[Fatal Error] Project1.dpr(7): Could not compile used unit 'Unit1.pas'
[Error] Unit1.pas(63): Undeclared identifier: 'TForm3'
[Fatal Error] Project1.dpr(7): Could not compile used unit 'Unit1.pas'
uses
unit3;
或者用File菜单中的Add Unit
begin
form3.showmodal;
end;procedure form1.FormCreate(Sender: TObject);
begin
form3.showmodal;
end;
uses unit3;
然后就可以直接调用了