J Jackymuyung Unregistered / Unconfirmed GUEST, unregistred user! 2001-10-14 #1 我做了个主窗口,想以后的子窗口都是继承主窗口的风格,具体怎样做,新手想你们请教 代码:
S superhippo Unregistered / Unconfirmed GUEST, unregistred user! 2001-10-14 #2 TNewForm=class(TYourForm)
Y YB_unique Unregistered / Unconfirmed GUEST, unregistred user! 2001-10-14 #3 ChildForm := TChildForm.CreateParented(Form1.Handle);
X xianjun Unregistered / Unconfirmed GUEST, unregistred user! 2001-10-14 #4 New -> YourProject -> YourFrom(inherited) -> OK
L LLLYJ Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-24 #5 xianjun 说的很对,那是最佳方法了, 当然你也可以把基础form加入Repository,然后引用,方法同上,只是Page有差别而已
L lujr Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-24 #6 xianjun: New -> YourProject -> YourFrom(inherited) -> OK
D Delphi XP Unregistered / Unconfirmed GUEST, unregistred user! 2002-01-24 #8 选择New项,然后选择Form,在弹出的窗体中选择你的程序名称的选项卡,选择父 窗体即可!