L
luosheng
Unregistered / Unconfirmed
GUEST, unregistred user!
我设立了主窗口和子窗口
主窗口中这样设的frm:= TFrm.Create(frm_main);
DEfaultMonitor:=dmMainForm
FormStyle:=fsMDIForm
子窗口中这么设
DEfaultMonitor:dmActiveForm
FormStyle:=fsMDIChild
FormClose中:
frm.DestroyWindowHandle();
执行是不报错,但执行完以后系统报错:Cannot Create
Form.No MDI Forms are Currently Active
这是为什么??要怎么处理??
主窗口中这样设的frm:= TFrm.Create(frm_main);
DEfaultMonitor:=dmMainForm
FormStyle:=fsMDIForm
子窗口中这么设
DEfaultMonitor:dmActiveForm
FormStyle:=fsMDIChild
FormClose中:
frm.DestroyWindowHandle();
执行是不报错,但执行完以后系统报错:Cannot Create
Form.No MDI Forms are Currently Active
这是为什么??要怎么处理??