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 trim删除字符串首尾空格

Delphi 比较完整的listview1用法

Delphi string.create(char,count)

Delphi idhttp上传图给asp完美解决

Delphi 中的md5实现方法及Delphi2009和Delphi2010中用法

Delphi idhttp1post上传图片

Delphi 获取系统内存状态

Delphi xp下的进程静音技术

Delphi版文件夹加密软件源代码

Delphi对access文件加密

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



打赏

取消

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

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

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

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

评论

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