- 人气:
- 放大
- 缩小
- 二维码
- 赞赏
delphi FullScreen全屏
procedure TForm1.FormCreate(Sender: TObject);
begin
{ Position form }
Top := 0;
Left := 0;
{ Go full screen }
BorderStyle := bsNone;
WindowState := wsmaximized;
ClientWidth := Screen.Width;
ClientHeight := Screen.Height;
Refresh;
SetForegroundWindow(Handle);
SetActiveWindow(Application.Handle);
end;