Vcl.Forms.TCustomForm.CloseModal

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure CloseModal;

C++

void __fastcall CloseModal();

Properties

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

Description

CloseModal prepares a modal form for closing.

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.

See Also