2,497
社区成员
发帖
与我相关
我的任务
分享
Const
Orignwidth=800;
Orignheight=600;
procedure TForm1.FormCreate(Sender:TObject);
begin
scaled:=true;
if (screen.width<>orignwidth) then
begin
height:=longint(height)*longint(screen.height)divorignheight;
width:=longint(width)*longint(screen.width)divorignwidth;
scaleby(screen.width,orignwidth);
end;
end;