get_position


Description:

public uint get_position (Menuitem parent)

This function returns the position of the menu item this in the children of parent.

It will return zero if the menu item can't be found.

Parameters:

this

The Menuitem to find the position of

parent

The Menuitem who's children contain this

Returns:

The position of this in the children of parent.