RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.Close Method

Closes the form.

Pascal
procedure Close;
C++
__fastcall Close();

Call Close to close a form. 

Attempts to close a form can be aborted by the CloseQuery event dispatcher or the OnCloseQuery event handler.

Note: When the main form of the application closes, the application terminates.
 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!