[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Controls' (#lcl)

TWinControl.GetControlIndex

Finds the index value for the given control, in Controls[].

Declaration

Source position: controls.pp line 2179

public function TWinControl.GetControlIndex(

  AControl: TControl

):Integer;

Arguments

AControl

  

The (possible) child control.

Function result

The index in Controls, -1 if not found.