FMX.Forms.TApplication.Terminate
Delphi
function Terminate: Boolean;
C++
bool __fastcall Terminate();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TApplication |
Description
Ends the execution of the FireMonkey application.
Call Terminate to end the application programmatically. By calling Terminate rather than freeing the application object, you allow the application to shut down in an orderly fashion.
Terminate performs an orderly shutdown of the application and Terminate is not immediate.
Terminate is called automatically when the main form closes.