Sign in Join
FPDoc Onlineexperiment

TScreen.CustomFormsZOrdered property

Member of TScreenpublicIn unit Forms

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

Declaration

pascal
property 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.