大哥,help me 800*600=======>1024*768 我在800*600 下的程式如何在1024*768 下显示的好看,有没办法 100送 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 参照:http://expert.csdn.net/Expert/topic/1761/1761296.xml?temp=.1598627http://expert.csdn.net/Expert/TopicView1.asp?id=1787438***********************************************等我有钱了,我就站在天安门广场挨个给大家发钱*********************************************** 使窗体适应不同的显示分辨率unit Unit_FormScale;interfaceuses Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;type TForm1 = class(TForm) procedure FormCreate(Sender: TObject); private { Private declarations } public { Public declarations } end;const //假设在800*600的分辨率下设计窗体,则常数定义如下: ScreenWidth=800; ScreenHeight=600;var Form1: TForm1;implementation{$R *.DFM}procedure TForm1.FormCreate(Sender: TObject);begin Scaled := True; if (screen.Width<>ScreenWidth) then begin Height := LongInt(height)*longInt(Screen.height)div ScreenHeight; Width := LongInt(Width)*LongInt(screen.width)div ScreenWidth; ScaleBy(Screen.width,ScreenWidth); end;end;end. ljmanage(过客) 的方法可以,不过效果不太好 还有form的字符集要设为国标,字体为宋体scale也要改一下 要不然设置窗口的Scaled为False 谁用过provider+clientdataset,问个参数传递问题 求高人指点--类似搬箱子算法,不过比那个复杂一点, 如何在delphi里自定义一个结构? ServerSocket和ClientSocket问题 两个很菜的问题?高手一看就知? 文件处理的难题,急 ̄ ̄ ̄在线等待! 求救!在delphi中如何将两个表连接生成一个新表??? 两个EXCEL数据匹配问题,请高手们指导 请教能否使Table在打开的时候不预读表的记录到缓冲区中? 如何将TObject强制转换成String? 我怎么能得到其中的值呢? 使用数据模块有什么好处呢?有窗体不可以代替吗?
http://expert.csdn.net/Expert/topic/1761/1761296.xml?temp=.1598627
http://expert.csdn.net/Expert/TopicView1.asp?id=1787438**********************************************
*等我有钱了,我就站在天安门广场挨个给大家发钱*
**********************************************
unit Unit_FormScale;interfaceuses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs;type
TForm1 = class(TForm)
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
const
//假设在800*600的分辨率下设计窗体,则常数定义如下:
ScreenWidth=800;
ScreenHeight=600;
var
Form1: TForm1;implementation{$R *.DFM}procedure TForm1.FormCreate(Sender: TObject);
begin
Scaled := True;
if (screen.Width<>ScreenWidth) then
begin
Height := LongInt(height)*longInt(Screen.height)div ScreenHeight;
Width := LongInt(Width)*LongInt(screen.width)div ScreenWidth;
ScaleBy(Screen.width,ScreenWidth);
end;
end;end.
还有form的字符集要设为国标,字体为宋体scale也要改一下