G ghc_x Unregistered / Unconfirmed GUEST, unregistred user! 2004-05-19 #1 请问如何才能改变窗体的父类,并且让父类的组件显示在在设计时的子窗体上?
Z zhangpanfeng Unregistered / Unconfirmed GUEST, unregistred user! 2004-05-19 #2 用个容器Panel 再指定子窗体的父为Panel form2.Parent:=form1.Panel1 另一种方法是继承父窗体创建。
W wangler Unregistered / Unconfirmed GUEST, unregistred user! 2004-05-19 #3 原: type TChildForm = class(TForm) ........ end; 新: uses ParentForm单元; TChildForm = class(TParentForm) ................ end;
原: type TChildForm = class(TForm) ........ end; 新: uses ParentForm单元; TChildForm = class(TParentForm) ................ end;