delphi7中怎么关闭一个子窗体,然后又能正常创建,我在childformclose事件里有
  action:=cafree;
然后destroy事件里写的是:
   childform:=nil;
在mainform菜单里写的是:
   if not assigned(childform) then
      childform:=tchildform.create(application);
      childform.show;
  
 在delphi6里面正常,但是在delphi7里面第二次创建窗体时报AV错误,希望大家能帮助解答
 谢谢!