窗体与分辨率问题,在线等 我做的一个程序,现在要求是在800*600的15吋显示器上用,过一会要在1024*768上用那么窗体大小怎么做?(我现在是用的800*570,top:=0,left:=0) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 if (Screen.Width = 1024) and (Screen.Height = 768) then ...if (Screen.Width = 800) and (Screen.Height = 600) then ... 1:anchors属性2:用panel3:ConstOrignwidth=800;Orignheight=600;procedure TForm1.FormCreate(Sender:TObject);beginscaled:=true;if (screen.width<>orignwidth) thenbeginheight:=longint(height)*longint(screen.height)divorignheight;width:=longint(width)*longint(screen.width)divorignwidth;scaleby(screen.widthorignwidth);end;end; d7 +ZEOS 连接postgresq 怪问题! 有友人寻觅DELPHI资深人才,不知道发这个信息是否有点违规哦? 用query1 进行添加,提示只读,为什么? ★左截字段,右截字段问题?? 怎樣對dbgrid中的單元格賦值? 怎样判断dbimage中没有图片 delphi7.01与DELPHI的区别在哪里? 图片分割问题 很小很小的问题!! 有没有办法在调用exe程序时输入进口参数?如给一个txt文件路径 例:IDo.exe "c:\temp.txt" 在游戏中弹出非模式窗体,如何实现? 日期问题
...
if (Screen.Width = 800) and (Screen.Height = 600) then
...
1:anchors属性
2:用panel3:ConstOrignwidth=800;Orignheight=600;
procedure TForm1.FormCreate(Sender:TObject);beginscaled:=true;if (screen.width<>orignwidth) thenbeginheight:=longint(height)*longint(screen.height)divorignheight;width:=longint(width)*longint(screen.width)divorignwidth;scaleby(screen.widthorignwidth);end;end;