Delphi: exit button

Posted by Richard Valongo -- August 06, 2001 :

Im an absolute beginner with delphi and so im starting off simple but I have hit a solid wall. I want to put an exit button on my application, all it needs to do is close the window which is open, but I can't figure out how to do it, I've read all the books that came with delphi but I did not find them very clear.
Any help is greatly apprecatied
Cheers Rich.


Related Articles and Replies

Re: Jean Claude Servaye -- August 08, 2001 :

To close a window, just do

Form1.Close;

To close the application (the main window):

Application.Terminate;

 

 

 

 

 

 

 

 


[ DelphiLand Discussion Forum ]