Difference between revisions of "ThumbViewer.ThumbForXY"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
m (1 revision)
m (8 revisions imported)
 
(6 intermediate revisions by 2 users not shown)
Line 12: Line 12:
  
  
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 ThumbNail count.
 
If'' FindClosest'' is True, it will find the closest Thumbnail. If none is found it will return the ThumbNail count.

Latest revision as of 16:25, 7 August 2015

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.