[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Forms' (#lcl)

TScreen.GetCurrentModalForm

Returns the topmost Modal form (ie a form that is awaiting a user response).

Declaration

Source position: forms.pp line 1102

public function TScreen.GetCurrentModalForm: TCustomForm;

Function result

The modal form, or Nil if none is active.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.