RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.CloseModal Method

CloseModal prepares a modal form for closing.

Pascal
procedure CloseModal;
C++
__fastcall CloseModal();

Do not call CloseModal in your application. CloseModal is used by the VCL when a modal form needs to be closed. CloseModal does not close the form by itself; it simply calls the registered close events and updates the ModalResult property. 

 

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