Vcl.Dialogs.TCommonDialog.DoClose

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure DoClose; dynamic;

C++

DYNAMIC void __fastcall DoClose();

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Dialogs.pas
Vcl.Dialogs.hpp
Vcl.Dialogs TCommonDialog

Description

Generates an OnClose event.

DoClose is called automatically when the user closes the dialog. Override this method to provide additional processing other than calling the OnClose event handler. For example, to perform shutdown operations that use protected methods of the dialog class, override DoClose rather than writing an OnClose event handler (which can access only public methods).

See Also