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