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 fmx 从app程序直接跳转到支付宝付款转帐页面

Delphi 实现透明窗体

Delphi 通过u盘方式加密

Delphi paramstr的用法

Delphi win32_networkadapter 网卡 参数说明

Delphi隐藏当前进程(新)

md5.pas

Delphi 合并两个 wav 文件流的函数

Delphi 实现批量文件名修改

Delphi 以二进制方式读取图片保存到string

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



打赏

取消

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

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

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

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

评论

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