D dohye Unregistered / Unconfirmed GUEST, unregistred user! 1999-05-07 #1 真样修改新建窗口的默认height和width. 请各位帮忙!
R redforks Unregistered / Unconfirmed GUEST, unregistred user! 1999-05-07 #2 如果在程序运行时修改:在Form的OnShow或OnCreate事件中 procedure TForm1.Form1OnShow(Sender: TObject); begin Width := Width you wanted; Height := Height you wanted; end; 在IDE中,新建的窗口的缺省大小和显卡的分辨率有关,想修改缺省大小的话, 修改显卡的分辨率吧
如果在程序运行时修改:在Form的OnShow或OnCreate事件中 procedure TForm1.Form1OnShow(Sender: TObject); begin Width := Width you wanted; Height := Height you wanted; end; 在IDE中,新建的窗口的缺省大小和显卡的分辨率有关,想修改缺省大小的话, 修改显卡的分辨率吧
L LSS Unregistered / Unconfirmed GUEST, unregistred user! 1999-05-07 #3 你可以继承一个合适大小的窗口 否则只有修改标准库的原代码了
H huizhang Unregistered / Unconfirmed GUEST, unregistred user! 1999-05-08 #4 Customize a form and put in to the repository and select it and set NewForm property to true
D dohye Unregistered / Unconfirmed GUEST, unregistred user! 1999-05-08 #5 To huizhang: Can you describe a little detail?
D dohye Unregistered / Unconfirmed GUEST, unregistred user! 1999-05-08 #6 Thank Hui zhang ,i have successed through your way!