DELPHI 窗口全屏


本文整理自网络,侵删。

 procedure TForm1.Button1Click(Sender: TObject);
begin
//覆盖任务栏
Self.BorderStyle := bsNone;
Self.Left := 0;
Self.Top := 0;
Self.Width := Screen.Width;
Self.Height := Screen.Height;
end;

procedure TForm1.Button2Click(Sender: TObject);
begin
//保留任务栏
Self.BorderStyle := bsNone;
Self.Left := Screen.WorkAreaLeft;
Self.Top := screen.WorkAreaTop;
Self.Width := Screen.WorkAreaWidth;
Self.Height := Screen.WorkAreaHeight;
end;

相关阅读 >>

Delphi vcl 鼠标左键长按功能的实现

Delphi防止因系统崩溃而丢失任务栏的图标(重建托盘图标)

Delphi json 转换成 tfdmemtable

Delphi link() 精简打开网址

Delphi xe6 grid试用结果

Delphi richedit控件的用法

Delphi 获取鼠标坐标

Delphi-基础(for循环)

Delphi memo1 数字列设定取值范围

Delphi 超精简无卡顿调用dos命令输出结果

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...