Sign in Join
FPDoc Onlineexperiment

TScreen.GetCurrentModalForm function

Member of TScreenpublicIn unit Forms

Returns the Modal form at the top of the Z-order for the screen.

Declaration

pascal
function GetCurrentModalForm: TCustomForm

Function result

The modal form, or Nil if a modal form is not active.

Description

Calls GetCurrentModalFormZIndex to find the first form instance in CustomFormsZOrdered with the value fsModal in its FormState property.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.