User Tools

Site Tools


api:dk11:delphi:fmx.gismodalform.tgis_modalform.showmodalex_tproc_1_boolean

Table of Contents



TGIS_ModalForm.ShowModalEx method

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.

Syntax

// 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 */;

Parameters

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.

Remarks

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.

2026/07/11 00:18

Page Tools