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

TScreen.CustomFormsZOrdered

The list of Custom Forms, indexed by Z-order (zero is top-most).

Declaration

Source position: forms.pp line 1282

public property TScreen.CustomFormsZOrdered[Index: Integer] : TCustomForm
  read GetCustomFormsZOrdered;

Description

CustomFormsZOrdered is a read-only indexed TCustomForm property which provides access to a custom form by its ordinal position in the Z-Order for the screen. The form at position 0 (zero) is displayed at the top of the Z-Order, and overlaps any form with a higher Z-Order value.

Values in the property are added and removed in the AddForm and RemoveForm methods.

CustomFormsZOrdered is used in widgetset classes when an application on the screen is minimized or maximized, or when a form is hidden or displayed using the ShowHide method in its widgetset class.

Use CustomFormZOrderCount to get the number of custom form instances in CustomFormsZOrdered.

Use CustomForms or Forms to access a form instance by its ordinal position in the list of forms on the screen.

See also

TScreen.CustomFormZOrderCount

  

Number of custom forms instances in the CustomFormsZOrdered property.

TScreen.CustomForms

  

Provides indexed access to the TCustomForm instances on the screen.

TScreen.Forms

  

Provides indexed access to TForm instances on the screen.

TCustomForm.Visible

  

Indicates if the control is visible on its parent.

TCustomForm.Show

  

Displays the form instance with support for High DPI scaling.

TCustomForm.Hide

  

Hides the control by setting the Visible property to False.

TWinControl.Showing

  

Cached visibility for the widget. Not necessarily in sync with the widget.


Version 3.2 Generated 2024-02-25 Home