ThumbViewer.ThumbForXY

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
Method
ThumbViewer.ThumbForXY ( X As Integer, Y As Integer, FindClosest As Boolean = False ) As Integer


Returns the Thumbnail indeX from the passed x, Y mouse coordinates.

If FindClosest is True, it will find the closest Thumbnail. If none is found it will return the ThumbNail count.