Share via


Overview | Methods | Fields | This Package | All Packages

OverviewMethodsFieldsThis PackageAll Packages

Control.getControlIndex

Retrieves the zero-based index of this control within the parent control array.

Syntax

public final int getControlIndex()

Return Value

Returns an integer that represents the zero-based index of this control within the parent control array. Returns -1 if this control is not a child of another control.

See Also   setControlIndex