TWinControl.GetControlIndex function
Finds the position for the specified control in the Controls property.
Declaration
function GetControlIndex(AControl: TControl): IntegerArguments
AControl | The child control to locate in the method. |
Function result
The ordinal position in Controls, -1 if not found.
Description
Calls the IndexOf method in Controls to find the child control in
AControl. The return value contains the ordinal position in Controls where
AControl is stored, or -1 when not found or Controls has not been assigned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
