Tform 和tFORMCLASS问题
ARM 2001-06-02 12:02:00 from1:=tform1.create(self);
form1.showmodal;
form1.free;
和
procedure showform(AFormClass:TFormClass);
begin
with AformClass.create(self) do
try
showmodal;
finally
free;
end;
end;
showform(Tform1);
的区别,关键是第二项,请从原理上解释清楚,form如何创建和销毁