关闭窗体时内存报错
showmodal显示窗体,关闭时内存报错。请问各位知道原因么?
创建的时候用的
if not assigned(form1) then
begin
form1:=Tform1.create(application);
form1.showmodal;
end;
关闭时在close里写
action:=cafree;
form1:=nil;
各位帮忙看看。
创建的时候用的
if not assigned(form1) then
begin
form1:=Tform1.create(application);
form1.showmodal;
end;
关闭时在close里写
action:=cafree;
form1:=nil;
各位帮忙看看。
...全文


