设置form 的大小正好和显示器屏幕一样大,怎么设置。
比如我在17'显示器里设置了FORM 的大小,但到15’显示器太大了!

解决方案 »

  1.   

    create时候form1.width=screen.width
    form1.height=screen.height
      

  2.   

    width:=screen.width
    height:=screen.height
      

  3.   

    form1.Left:=0;
      form1.Top:=0;
      form1.Width:=screen.DesktopWidth;
      form1.Height:=screen.DesktopHeight;
    不知道可不可以
      

  4.   

    form1.Left:=0;
    form1.Top:=0;
    form1.width:=screen.width;
    form1.height:=screen.height ;
      

  5.   

    form.WindowState:=wsMaximized;form.scaled:=false;form.font  宋体 小五