使用Delphi重新调整表单
?牐燙onst
?牐燬creenwidth=1024;
?牐燬creenwidth=758; //定义屏幕的原始分辨率
?牐爌rocedure TForm1.FormCreate(Sender:TObject);
?牐燽egin
?牐爏caled:=true;//判断当前分辨率是否与设计分辨率相同
?牐爄f(screen.width<>Screenwidth)then
?牐燽egin //重新调整表单布局
?牐爃eight:=longint(height)*longint(screen.height)div Screenwidth??
?牐爓idth:=longint(width)*longint(screen.width) div Screenwidth;
?牐爏caleby(screen.width,Screenwidth);
?牐爀nd;
?牐爀nd;