Difference between revisions of "ThumbViewer"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
m (1 revision)
Line 7: Line 7:
 
|-
 
|-
 
|class=titleClass colspan=1|Events
 
|class=titleClass colspan=1|Events
 +
|-
 +
|{{Event | name=CompareThumbs | params=Thumb1 As ThumbNail, Thumb2 As ThumbNail, ByRef Result As Integer | description= | returntype=Boolean | newinversion=}}
 
|-
 
|-
 
|{{Event | name=DeleteThumb | params=Index As Integer | description= | returntype=Boolean | newinversion=}}
 
|{{Event | name=DeleteThumb | params=Index As Integer | description= | returntype=Boolean | newinversion=}}
Line 57: Line 59:
 
{| class=methodTable
 
{| class=methodTable
 
|-
 
|-
|class=titleClass colspan=1|Methods
+
|class=titleClass colspan=2|Methods
 
|-
 
|-
|{{Method | name=AddThumbNail | params=Pic As Picture, Name As String = "", AutoResize As Boolean = True | description= | returntype=ThumbNail | newinversion=}}
+
|width=50%|{{Method | name=AddThumbNail | params=Pic As Picture, Name As String = "", AutoResize As Boolean = True | description= | returntype=ThumbNail | newinversion=}}
 +
|width=50%|{{Method | name=Sort | params=Ascending As Boolean = False | description= | newinversion=}}
 
|-
 
|-
|{{Method | name=DeleteThumbNail | params=Index As Integer | description= | newinversion=}}
+
|width=50%|{{Method | name=DeleteThumbNail | params=Index As Integer | description= | newinversion=}}
 +
|width=50%|{{Method | name=SortNames | params=Ascending As Boolean = False | description= | newinversion=}}
 
|-
 
|-
|{{Method | name=InsertThumbNail | params=Index As Integer, Pic As Picture, Name As String = "", AutoResize As Boolean = False | description= | returntype=ThumbNail | newinversion=}}
+
|width=50%|{{Method | name=InsertThumbNail | params=Index As Integer, Pic As Picture, Name As String = "", AutoResize As Boolean = False | description= | returntype=ThumbNail | newinversion=}}
 +
|width=50%|{{Method | name=ThumbForXY | params=X As Integer, Y As Integer, FindClosest As Boolean = False | description= | returntype=Integer | newinversion=}}
 
|-
 
|-
|{{Method | name=Redisplay | description= | newinversion=}}
+
|width=50%|{{Method | name=Redisplay | description= | newinversion=}}
|-
+
 
|{{Method | name=SelectAll | params=UnSelect As Boolean = False | description= | newinversion=}}
+
|-
+
|{{Method | name=SortNames | params=Ascending As Boolean = False | description= | newinversion=}}
+
|-
+
|{{Method | name=ThumbForXY | params=X As Integer, Y As Integer, FindClosest As Boolean = False | description= | returntype=Integer | newinversion=}}
+
 
|-
 
|-
 +
|width=50%|{{Method | name=SelectAll | params=UnSelect As Boolean = False | description= | newinversion=}}
  
 
|-
 
|-

Revision as of 21:53, 19 May 2013

ThumbViewer displays a set of ThumbNails.
The view can be scrolled to display additional ThumbNails.


Events
CompareThumbs
DeleteThumb
Open
ResizeScrollbar
ThumbCornerClicked
ThumbSelected


Properties
AutoSize Freeze Thumbs
BackgroundColor HorizontalViewer ThumbSpacing
BackgroundType ScrollStep ThumbWidth
Border ScrollX
BorderColor ScrollY
EnableDrag ThumbHeight


Methods
AddThumbNail Sort
DeleteThumbNail SortNames
InsertThumbNail ThumbForXY
Redisplay
SelectAll


Shared Methods
Register


Class Constants

BackgroundType

The following class constants are to be used to specify the Style of the Background.

Class Constant Description
BackgroundNone No Background.
BackgroundSolid One color Background.
BackgroundGradient Vertical gradient Background.

History

Version 1.0.0 - Not released

First release

See Also

Class.

ThumbNail, ThumbNailCorner

External Links

Download page: http://www.jeremieleroy.com/products.php