IupGetChildPos

Definition: include pGUI.e

integer pos = IupGetChildPos(Ihandle ih, Ihandle child)
Description: Returns the position of a child of the given control.

ih: identifier of the interface element.
child: identifier of the child element for which the position is required.

Returns: the position of the desire child starting at 0, or -1 if child not found.
Notes: This function will return the children of the control in the exact same order in which they were assigned.
See Also: IupGetChild, IupGetChildCount, IupGetNextChild, IupGetBrother, IupGetParent