Microsoft SDK for Java

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

© 1999 Microsoft Corporation. All rights reserved. Terms of use.