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

TScreen.CustomFormBelongsToActiveGroup

Checks whether the specified form is present in the Z-ordered list of forms.

Declaration

Source position: forms.pp line 1227

public function TScreen.CustomFormBelongsToActiveGroup(

  AForm: TCustomForm

):Boolean;

Arguments

AForm

  

Form instance to locate in the Z-ordered forms for the screen.

Function result

True if the form is used on the screen.

Description

The return value is True when ACustomForm is found in the CustomFormsZOrdered property and is not displayed as a modal form (FormState contains fsModal). The return value is False if ACustomForm is not found in CustomFormsZOrdered.

Used in widgetset classes to determine if a form is used and enabled on the screen.


Version 3.2 Generated 2024-02-25 Home