[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 TWinControl.Controls

Declaration

Source position: controls.pp line 2332

public function TWinControl.GetControlIndex(

  AControl: TControl

):Integer;

Arguments

AControl

  

The child control to locate in the method.

Function result

The ordinal position in Controls, -1 if not found.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.