-->
Prevent the user closes the form by pressing the Alt + F4. | Delphi Tips Trick
About
Kontak
Disclaimer
Sitemap
Drop-Down
Sub-item 1
Sub-item 2
Delphi Tips Trick
For Newbie
Home
About
Kontak
Categories
▼
Label 1
Label 2
Label 3
Label 4
Label 5
Links
Tuesday, 15 November 2011
Home
»
Tips and Trick Delphi
» Prevent the user closes the form by pressing the Alt + F4.
Prevent the user closes the form by pressing the Alt + F4.
To Share
| Tuesday, 15 November 2011
Edit
event
OnCloseQuery
:
TForm1.FormCloseQuery
procedure
(
Sender:
TObject
;
var
CanClose
:
Boolean
);
begin
CanClose
:
=
False
;
end
;
Related Posts
No comments:
Post a Comment
Newer Post
Older Post
Home
No comments:
Post a Comment