delphi7中怎么关闭一个子窗体,然后又能正常创建,我在childformclose事件里有
action:=cafree;
然后destroy事件里写的是:
childform:=nil;
在mainform菜单里写的是:
if not assigned(childform) then
childform:=tchildform.create(application);
childform.show;
在delphi6里面正常,但是在delphi7里面第二次创建窗体时报AV错误,希望大家能帮助解答
谢谢!
action:=cafree;
然后destroy事件里写的是:
childform:=nil;
在mainform菜单里写的是:
if not assigned(childform) then
childform:=tchildform.create(application);
childform.show;
在delphi6里面正常,但是在delphi7里面第二次创建窗体时报AV错误,希望大家能帮助解答
谢谢!
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货