Difference between revisions of "ThumbViewer.ThumbForXY"
From Jeremie Leroy - XOJO Controls Wiki
m (1 revision) |
|||
Line 14: | Line 14: | ||
Returns the [[ThumbNail]] inde''X'' from the passed x,'' Y'' mouse coordinates. | Returns the [[ThumbNail]] inde''X'' 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 | + | If'' FindClosest'' is True, it will find the closest Thumbnail. If none is found it will return the ThumbNail count. |
Revision as of 20:09, 19 May 2013
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.