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 调用viewer-windows10 图像浏览器

Delphi twebbrowser 用法

Delphi动态建立panel无法更改颜色?

Delphi vcl 的 tpagecontrol 控件,实现对页签的拖动

Delphi控制摄像头

Delphi 字符串反转函数

Delphi读取utf8格式ini及取得动态�热�

Delphi 使用 lockbox 做加密解密

Delphi for 循环输出 a-z

Delphi 设置系统启动文件夹自身开机自动运行

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



打赏

取消

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

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

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

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

评论

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