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读取和写入utf-8编码格式的文件

elphi中取出字符串中指定位置的几个字符

Delphi richedit控件中插入图片bmp(bmp,文件),gif(文件)

Delphi 几个dataset数据导出到xml word excel txt html的函数

Delphi 为数字补充前缀0

delhpi如何直接获得webbrowser输入的xml文件

Delphi中一段可以判断网络连接的代码

Delphi 有关debughook

Delphi idwhois1 简单的用法

Delphi 实现数据库读取图片文件

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



打赏

取消

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

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

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

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

评论

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