Show: DelphiC++
Display Preferences

Forms.TApplication.Terminate

From XE API Documentation

Jump to: navigation, search

Delphi

procedure Terminate;

C++

void __fastcall Terminate(void);

Contents

Properties

Type Visibility Source Unit Parent
procedure
function
public
Forms.pas
Forms.hpp
Forms TApplication

Description

Ends application execution.

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 calls the Windows API PostQuitMessage function to perform an orderly shutdown of the application. Terminate is not immediate.

Terminate is called automatically on a WM_QUIT message and when the main form closes.

See Also

Code Samples


Personal tools
Previous Version
Translations