[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 1027

public function TScreen.GetCurrentModalForm: TCustomForm;

Function result

The modal form, or Nil if none is active.