[原]UNIGUI如何禁止关闭新窗口

  • 主题发起人 SUNSTONE的Delphi笔记
  • 开始时间
S

SUNSTONE的Delphi笔记

Unregistered / Unconfirmed
GUEST, unregistred user!
1.取消新窗体的systemmenu,目的是去掉窗体的关闭按钮X



2.在窗体加上新按钮,点击事件为

close;



3.在窗体的onclose实践中添加如下代码



action:=canone;//这句一定要放在messagedlg前面

messagedlg(xxxxxxx);



作者:sunstone 发表于 2011/01/29 23:01:00 原文链接 //blog.csdn.net/sunstone/article/details/6169286
阅读:2043

查看更多...
 

Similar threads

S
回复
0
查看
674
SUNSTONE的Delphi笔记
S
S
回复
0
查看
403
SUNSTONE的Delphi笔记
S
S
回复
0
查看
410
SUNSTONE的Delphi笔记
S
S
回复
0
查看
767
SUNSTONE的Delphi笔记
S
S
回复
0
查看
765
SUNSTONE的Delphi笔记
S
顶部