TScreen.Forms property
Provides indexed access to TForm instances on the screen.
Declaration
property Forms[Index: Integer]: TForm read GetForms;Description
Forms is a read-only indexed
TForm property which
provides access to the TForm instances on the screen by their ordinal
position in the list of forms.
Index values must be in the range
0..FormCount-1. An
EListError exception is
raised when Index contains an invalid position for the list.
Values are added to and removed from Forms in the AddForm and
RemoveForm methods. These methods are called when the
CreateNew or Destroy method in TForm is executed. Forms
is used in widgetset classes to get the form instance with a given
Handle in the widgetset.
Use CustomForms and CustomFormCount to access the
TCustomForm instances on the screen.
Errors
Raises an EListError exception when Index contains an invalid position for the list.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
