Vcl.Forms.TCustomForm.DoClose

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoClose(var Action: TCloseAction); dynamic;

C++

DYNAMIC void __fastcall DoClose(System::Uitypes::TCloseAction &Action);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomForm

Description

Form closing event dispatcher.

DoClose is called automatically when the form is about to close. DoClose can alter closing behavior by changing the Action parameter. For more information, refer to the OnClose event handler.

As implemented in TCustomForm, DoClose simply calls the OnClose event handler.

See Also