[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Gets the ordinal position in Forms for the requested form.
Source position: forms.pp line 1220
public function TScreen.FormIndex( |
AForm: TForm |
):Integer; |
AForm |
|
The TForm instance to locate in Forms. |
Ordinal position in Forms for the TForm instance, or -1 when not found.
FormIndex is an Integer function used to get the position in Forms where the specified TForm instance in located. It iterates over the values in Forms in reverse order. The return value contains the ordinal position in Forms where the TForm instance in AForm was found, or -1 when AForm does not exist in Forms.
Use the CustomFormIndex method to locate a form instance derived from TCustomForm in the CustomForms property.
Version 3.2 | Generated 2024-02-25 | Home |