Retrieves the zero-based index of the item at the specified coordinates.
public final int indexFromPoint( Point p )
public final int indexFromPoint( int x, int y )
point
A Point object containing the coordinates for the point.
x
The x-coordinate of the point.
y
The y-coordinate of the point.
Returns the zero-based index of item at the specified point; if there is no item at the specified point, returns ListBox.NOMATCHES.