Difference between revisions of "ThumbViewer"

From Jeremie Leroy - XOJO Controls Wiki
Jump to: navigation, search
 
m (9 revisions imported)
 
(8 intermediate revisions by 2 users not shown)
Line 3: Line 3:
 
The view can be scrolled to display additional ThumbNails.
 
The view can be scrolled to display additional ThumbNails.
  
Displays a Calendar in several formats (Year, Month, Week, Day, ...) that presents CalendarEvents.<br/>
 
This custom control based on a Canvas is similar to iCal on Mac OS and Google Calendar.
 
  
 
{| class=eventTable
 
{| class=eventTable
 
|-
 
|-
 
|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 59: 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=}}
  
 
|-
 
|-
Line 116: Line 115:
 
==See Also==
 
==See Also==
  
Class.
 
 
[[ThumbNail]], [[ThumbNailCorner]]
 
[[ThumbNail]], [[ThumbNailCorner]]
 +
 
==External Links==
 
==External Links==
  
 
Download page:
 
Download page:
 
http://www.jeremieleroy.com/products.php
 
http://www.jeremieleroy.com/products.php

Latest revision as of 17:25, 7 August 2015

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

ThumbNail, ThumbNailCorner

External Links

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