Vcl.Forms.TCustomForm.Close
Delphi
procedure Close;
C++
void __fastcall Close();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | Vcl.Forms.pas Vcl.Forms.hpp |
Vcl.Forms | TCustomForm |
Description
Closes the form.
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.
See Also
Code Examples