我创建了一个MDI窗体,又创建了一个子窗体,而且子窗体是在MDI窗体创建之后动态生成的,但是运行时弹出一个窗体:
debugger exception notificationproject project1.exe raised exception clasee einvalidoperation with message 'cannot create form.no MDI forms are currently active'.process stopped.use step or run to continue请问怎么办啊,我快死啦!!!痛苦!!
debugger exception notificationproject project1.exe raised exception clasee einvalidoperation with message 'cannot create form.no MDI forms are currently active'.process stopped.use step or run to continue请问怎么办啊,我快死啦!!!痛苦!!
大侠救我啦!!!
if not assigned(form2) then
form2:=tform2.create(application);
form2.show;
在auto crecte 中把那个child form移到右边。
在auto crecte 中把那个child form移到右边。