📄 dt971027.html
字号:
<html>
<head>
<meta HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=gb_2312-80">
<meta NAME="Generator" CONTENT="Microsoft Word 97">
<title>Delphi Tips</title>
</head>
<body>
<b><i><font SIZE="3"><p ALIGN="JUSTIFY">Delphi Tips</p>
</b><p ALIGN="JUSTIFY">From The Cobb Group</p>
<p ALIGN="JUSTIFY">Transtor:</font><font FACE="宋体" LANG="ZH-CN" SIZE="3">傅贵</p>
</i></font><font SIZE="3"><p ALIGN="JUSTIFY">97.10.27</font><font FACE="宋体" LANG="ZH-CN" SIZE="3">自动适应屏幕资源</font><font SIZE="3"> (Delphi 3, 2.0 and 1.0)</p>
<p ALIGN="JUSTIFY">You're always creating software that looks great at your monitor's resolution. Unfortunately, if you designed your application on a high-resolution screen, it may be larger than the available screen space on the client screen. You can solve this problem by letting Delphi automatically add scroll bars at run-time. However, using Delphi's automatic scaling produces more professional results. At run-time, Delphi asks the system for the screen resolution and stores it in the PixelsPerInch property of your application's Screen object. Next, it uses the PixelsPerInch value to resize the form for the current resolution. Here are some things to remember, to make this technique work effectively: set the Scaled property of your form(s) to TRUE, use only TrueType fonts, use Windows small fonts when you develop, and set the AutoScroll property of your form(s) to FALSE. </p>
</font><font FACE="宋体" LANG="ZH-CN" SIZE="3"><p ALIGN="JUSTIFY"> </p></font></body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -