D7 - 表单wsMaximized,但显示垂直滚动条(仅W8)

时间:2015-05-17 05:32:01

标签: delphi delphi-7 maximize

我有一个代码:

procedure TfrmMain.FormCreate(Sender: TObject);
begin
    ....
    Left   := Screen.WorkAreaLeft;
    Top    := Screen.WorkAreaTop;
    Width  := Screen.WorkAreaWidth;
    Height := Screen.WorkAreaHeight;
    .....;
end;

W7 - 正确显示, W8 - 带垂直滚动条的显示

(见图片)

[W7 - 正确显示]

1 enter image description here

W8 - displays with vertical scrollbar

enter image description here

0 个答案:

没有答案