窗口的初始化?(50分)

D

dohye

Unregistered / Unconfirmed
GUEST, unregistred user!
真样修改新建窗口的默认height和width.
请各位帮忙!
 
如果在程序运行时修改:在Form的OnShow或OnCreate事件中

procedure TForm1.Form1OnShow(Sender: TObject);
begin
Width := Width you wanted;
Height := Height you wanted;
end;

在IDE中,新建的窗口的缺省大小和显卡的分辨率有关,想修改缺省大小的话,
修改显卡的分辨率吧
 
你可以继承一个合适大小的窗口
否则只有修改标准库的原代码了
 
Customize a form and put in to the repository and select it and set
NewForm property to true
 
To huizhang: Can you describe a little detail?
 
Thank Hui zhang ,i have successed through your way!
 
多人接受答案了。
 
顶部 底部