Method Reference > Quick Reference for All Methods > GetItemIDAt Method |
GetItemIDAt Method
C1QueryFrame.GetItemIDAt(X, Y)
Notes
Method applies to C1QueryFrame control.
Arguments
X, Y are coordinates of a point in the control’s window (client coordinates).
Return Value
Long integer ID of a query item.
Description
This method returns the ID of the query item occupying point (X, Y). See Accessing and Modifying Query Items about item ID. If (X, Y) is not occupied by any item, the method returns –1.