TApplication.Terminate procedure
The application is terminated and the component engine is shutdown.
Declaration
procedure Terminate; overrideDescription
Terminate is an overridden method in
TApplication, and
calls the inherited method on entry to set the values in Terminated and
ExitCode. It calls the AppTerminate method the widgetset class instance to
perform actions needed to halt the application using the mechanism(s) for the
operating system or platform.
Use Terminated to determine if the method has already been called and has not yet been completed in the widgetset class.
See also
An experiment, built from Lazarus main 2dfa93c66e of 10-22-2026. Not the official Lazarus documentation.
