FMX.Forms.TCommonCustomForm.Close
Delphi
function Close: TCloseAction;
C++
System::Uitypes::TCloseAction __fastcall Close();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TCommonCustomForm |
Description
Closes the form and returns the close action that the form uses.
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.