[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 2238

public function TWinControl.GetControlIndex(

  AControl: TControl

):Integer;

Arguments

AControl

  

The (possible) child control.

Function result

The index in Controls, -1 if not found.

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