RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCommonDialog.DoClose Method

Generates an OnClose event.

Pascal
procedure DoClose; dynamic;
C++
__fastcall DoClose();

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). 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!