FMX.Forms.TCommonCustomForm.CloseModal
Delphi
function CloseModal: TCloseAction;
C++
System::Uitypes::TCloseAction __fastcall CloseModal();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TCommonCustomForm |
Description
Prepares a modal form for closing and returns the close action that the form uses.
Do not call CloseModal in your application. CloseModal is used by the the FireMonkey framework 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.