TScreen.GetCurrentModalForm function
Returns the Modal form at the top of the Z-order for the screen.
Declaration
function GetCurrentModalForm: TCustomFormFunction 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.
