[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Provides indexed access to TForm instances on the screen.
Source position: forms.pp line 1293
public property TScreen.Forms[Index: Integer] : TForm |
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.
Raises an EListError exception when Index contains an invalid position for the list.
|
The number of Forms on the screen. |
|
|
Provides indexed access to the TCustomForm instances on the screen. |
|
|
Number of TCustomForm form instances in the CustomForms property. |
|
|
Creates a form instance without a resource (.lfm) file. |
|
|
Destructor for the class instance. |
Version 3.2 | Generated 2024-02-25 | Home |