DK for Delphi | FMX.GisModalForm.TGIS_ModalForm.ShowModalEx | Constructors | Fields | Methods | Properties
Shows the form using modal-like behavior, emulating a dialog box on mobile devices.
// Delphi public procedure ShowModalEx( const _proc : TProc<TModalResult>; const _free : Boolean = True ); overload;
// C++ Builder public: void ShowModalEx( TProc__1<TModalResult>* const _proc, const bool _free ) /* overload */;
| Name | Type | Description |
|---|---|---|
| _proc | TProc<TModalResult> | Callback method executed when the form closes. |
| _free | Boolean | True if the form instance should be destroyed after it returns. |
On mobile platforms it displays a dialog box style form and blocks interaction with the background form to provide modal-like behavior on platforms such as Android, which do not support true modal forms.
On desktop platforms it behaves as a standard modal dialog box centered over the parent form.