View Single Post
Join Date: May 2005
Posts: 41
Reputation: mrmike is an unknown quantity at this point 
Solved Threads: 0
mrmike mrmike is offline Offline
Light Poster

Re: Making a Fullscreen form and hiding the Windows Taskbar

 
0
  #6
Sep 15th, 2005
use the following and set the OnCloseQuery event to call it

Pascal and Delphi Syntax (Toggle Plain Text)
  1. procedure FormCloseQuery(Sender: TObject; var CanClose: Boolean);
  2. begin
  3. application.Messagebox('Sorry you are unable to terminate this application','Close Request Received');
  4. CanClose:=False;
  5. end;

regards
mrmike
Reply With Quote