delphi中新加控件默认字体怎么会是MS Serif 8,我如何改成9p的宋体字?(50分)

V

vivee

Unregistered / Unconfirmed
GUEST, unregistred user!
????
 
Borland没有直接提供,不过可以改注册表:
在:
D5: HKEY_CURRENT_USER/Software/Borand/Delphi/5.0
D6: HKEY_CURRENT_USER/Software/Borand/Delphi/6.0
下增加一个名为“FormDesign”的项,
再在这个项下面新建一个字符串值:
“DefaultFont” 设为 "宋体",9 
注意:宋体上要有引号。
 
改注册表
HKEY_CURRENT_USER/Software/Borland/Delphi/5.0

Here you will add a new key called FormDesign (with no space). To do right click on the 5.0 and chose New | Key. Name the key FormDesign. Now right click on this new key and choose New | String Value. Name this string value DefaultFont (no space). Now right click on this new string value entry in the right window and choose Modify. Enter the name of the default font you would like, followed by a comma and the default size. For example:
Arial,10
Now the next time you open Delphi this should be the default font for your forms. You can even go a little further with this if you wish by adding other font properties such as

Arial,10, bold, italic
 
这个答案我看过了,不过改过后没有任何用处,问题依旧:(
 
改这个注册表以后应该可以了,我倒是一直想知道怎么修改默认的CharSet。
 
对了,我现在是d7
 
那你就应该改HKEY_CURRENT_USER/Software/Borland/Delphi/7.0下面的键值啊。
 
假如改注册表可以达到目的,那么charset也是在那儿改!!可是。。。。
 
肯定是可以的,我以前问过,不行我怎么会把分给别人呢?

如果是字体,这样改行,还有字符集 一定要改成 Chinese_GB2312,
界面可以将Form的 Scaled 设置为False。
 
To geluyx:我一直都没有找到字符集是在哪里改的,能告诉我吗?谢谢
 
例如:
label: 属性,font,双击,就在此界面上。
 
我已经知道了,在d7中本来在注册表中就有form design这个项,我添加了不行,但是我另外添加了一个“formdesign”再添加就可以了
谢谢了
 
接受答案了.
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
1K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
933
SUNSTONE的Delphi笔记
S
D
回复
0
查看
2K
DelphiTeacher的专栏
D
顶部