https://www.jeremieleroy.com/wiki/api.php?action=feedcontributions&user=Admin&feedformat=atom
Jeremie Leroy - XOJO Controls Wiki - User contributions [en]
2024-03-29T14:08:46Z
User contributions
MediaWiki 1.25.1
https://www.jeremieleroy.com/wiki/index.php?title=RibbonCanvas&diff=16146
RibbonCanvas
2017-06-12T16:49:16Z
<p>Admin: /* History */</p>
<hr />
<div><br />
The RibbonCanvas is a custom Canvas that displays a Ribbon similar to Microsoft Office and Windows 7 Paint and WordPad.<br />
<br />
<br />
{| class=eventTable<br />
|-<br />
|class=titleClass colspan=2|Events<br />
|-<br />
|width=50%|{{Event | name=Action | params=SectionName As String, ButtonName As String | description= | newinversion=}}<br />
|width=50%|{{Event | name=Minimized | description= | newinversion=}}<br />
|-<br />
|width=50%|{{Event | name=Change | description= | newinversion=}}<br />
|width=50%|{{Event | name=MouseDown | params=X As Integer, Y As Integer | description= | returntype=Boolean | newinversion=}}<br />
|-<br />
|width=50%|{{Event | name=GearIconClicked | description= | returntype=Boolean | newinversion=1.2.0}}<br />
|width=50%|{{Event | name=Open | description= | newinversion=}}<br />
|-<br />
|width=50%|{{Event | name=GetIcon | params=IconName As String | description= | returntype=Picture | newinversion=}}<br />
|width=50%|{{Event | name=OpenRecent | params=f As FolderItem | description= | newinversion=}}<br />
|-<br />
|width=50%|{{Event | name=GetMenu | params=SectionName As String, ButtonName As String | description= | returntype=MenuItem | newinversion=}}<br />
|width=50%|{{Event | name=Restored | description= | newinversion=}}<br />
|-<br />
|width=50%|{{Event | name=HeightChange | description= | newinversion=}}<br />
<br />
|-<br />
|width=50%|{{Event | name=MenuAction | params=SectionName As String, ButtonName As String, hitItem As MenuItem | description= | newinversion=}}<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=propertyTable<br />
|-<br />
|class=titleClass colspan=3|Properties<br />
|-<br />
|width=33%|{{Property | name=Animate | type=Boolean | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=Hidden | type=Boolean | description= | readonly=yes | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=ShowTooltips | type=Boolean | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|-<br />
|width=33%|{{Property | name=AutoHide | type=Boolean | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=HideButtonLeft | type=Integer | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=Style | type=Integer | description= | readonly=yes | newinversion= | version=1.2.5}}<br />
|-<br />
|width=33%|{{Property | name=BackColor | type=Color | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=LastError | type=String | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=TabCount | type=Integer | description= | readonly=yes | newinversion= | version=1.2.5}}<br />
|-<br />
|width=33%|{{Property | name=BestHeight | type=Integer | description= | readonly=yes | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=LeftOffset | type=Integer | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=TabInnerOffset | type=Integer | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|-<br />
|width=33%|{{Property | name=BorderColor | type=Color | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=Main | type=RibbonMain | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=TabMidOffset | type=Integer | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|-<br />
|width=33%|{{Property | name=EmbeddedControls | type=RibbonEmbeddedControl | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=ShowGearIcon | type=Boolean | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=Tabs | type=RibbonTab | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|-<br />
|width=33%|{{Property | name=Freeze | type=Boolean | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=ShowHideButton | type=Boolean | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=Value | type=Integer | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|-<br />
|width=33%|{{Property | name=FullRefresh | type=Boolean | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=ShowRefreshTime | type=Boolean | description= | readonly=no | newinversion= | version=1.2.5}}<br />
<br />
|-<br />
|width=33%|{{Property | name=GearIcon | type=Picture | description= | readonly=no | newinversion= | version=1.2.5}}<br />
|width=33%|{{Property | name=ShowTabs | type=Boolean | description= | readonly=no | newinversion= | version=1.2.5}}<br />
<br />
|-<br />
|width=33%|{{Property | name=Hidden | type=Boolean | description= | readonly=yes | newinversion= | version=1.2.5}}<br />
|}<br />
<br />
<br />
<br />
{| class=methodTable<br />
|-<br />
|class=titleClass colspan=3|Methods<br />
|-<br />
|width=33%|{{Method | name=AddOpenRecent | params=f As FolderItem | description= | newinversion=}}<br />
|width=33%|{{Method | name=Redisplay | description= | newinversion=}}<br />
|width=33%|{{Method | name=Show | params=Refresh As Boolean = True | description= | newinversion=}}<br />
|-<br />
|width=33%|{{Method | name=EmbedControl | params=c As RectControl, Left As Integer = - 1, Top As Integer = - 1, Tab As Integer = - 1, Section As Integer = - 1, Button As Integer = - 1 | description= | newinversion=}}<br />
|width=33%|{{Method | name=RemoveOpenRecent | params=f As FolderItem | description= | newinversion=}}<br />
|width=33%|{{Method | name=toRB | params=FullConstructor As Boolean = False, SaveStyle As Boolean = True | description= | returntype=String | newinversion=}}<br />
|-<br />
|width=33%|{{Method | name=GetButton | params=ButtonName As String | description= | returntype=RibbonButton | newinversion=}}<br />
|width=33%|{{Method | name=SendAcceleratorKey | params=Key As String | description= | returntype=Boolean | newinversion=}}<br />
|width=33%|{{Method | name=toXML | params=SaveValue As Boolean = True, SaveStyle As Boolean = True, SaveAllOptions As Boolean = False, SavePictureInXML As Boolean = False | description= | returntype=String | newinversion=}}<br />
|-<br />
|width=33%|{{Method | name=GetMainOption | params=Name As String | description= | returntype=RibbonMainOption | newinversion=}}<br />
|width=33%|{{Method | name=SetColor | params=C As Color | description= | newinversion=}}<br />
<br />
|-<br />
|width=33%|{{Method | name=Hide | params=Refresh As Boolean = True | description= | newinversion=}}<br />
|width=33%|{{Method | name=SetHighlightColor | params=C As Color | description= | newinversion=}}<br />
<br />
|-<br />
|width=33%|{{Method | name=LoadFromXML | params=XMLString As String | description= | returntype=Boolean | newinversion=}}<br />
|width=33%|{{Method | name=SetStyle | params=value As Integer | description= | newinversion=}}<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=methodTable<br />
|-<br />
|class=titleClass colspan=1|Shared Methods<br />
|-<br />
|{{Method | name=Register | params=Name As String, ProductKey As String, SerialKey As Integer | description= | returntype=Boolean | newinversion=}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
==History==<br />
<br />
<br />
<br />
===Version 1.6.0 - Released 2016-11-14 ===<br />
*New:<br />
**Updated for Xojo 2017R1<br />
<br />
*Fix<br />
**OutOfBoundsException on Windows<br />
<br />
<br />
===Version 1.5.0 - Released 2015-11-28 ===<br />
<br />
*Fix<br />
**Several bug fixes<br />
<br />
<br />
===Version 1.4.0 - Released 2014-09-01 ===<br />
*New:<br />
**Office2013 Style<br />
**Colored Tabs<br />
**Compatible with Xojo<br />
<br />
*Deprecated:<br />
**Office2007 Style is no longer supported. No updates or bug fixes will be added for this style.<br />
<br />
<br />
===Version 1.3.0 - Released 2013-04-27 ===<br />
*New:<br />
**Office2013 Style<br />
**Colored Tabs<br />
<br />
*Deprecated:<br />
**Office2007 Style is no longer supported. No updates or bug fixes will be added for this style.<br />
<br />
===Version 1.2.5 - Released 2012-05-25===<br />
*Fix:<br />
**Crash on Mac OS with StyleOffice2011 (gradient2)<br />
**Crash on Mac OS (RibbonHelpWindow)<br />
**Embedded control not displaying properly if the Ribbon isn't in top left position.<br />
<br />
===Version 1.2.4 - Released 2012-04-15===<br />
*New:<br />
**Removed Class TooltipTimer which isn't needed anymore<br />
<br />
*Fix:<br />
**embeddedControl<br />
**Graphical bug in StyleOffice2010<br />
**Buttons with menu: PopupArrow missing the tip pixel in newer versions of RealStudio<br />
<br />
<br />
===Version 1.2.1===<br />
**Contextual Click in RibbonHelpWindow does not trigger [[RibbonCanvas.Action|Action]] anymore<br />
<br />
==See Also==<br />
<br />
[[RibbonButton]], [[RibbonSection]], [[RibbonTab]], [[RibbonMenu]], [[RibbonMenuOption]] classes.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8&diff=16145
Jly Icons8
2017-06-04T16:26:25Z
<p>Admin: </p>
<hr />
<div><br />
<br />
A very handy class that gives access to 50,000+ icons from Icons8<br />
<br />
The perfect tool for prototyping a design without having to include tens or hundreds of icons in your App, in both standard and HiDPI.<br />
<br />
jly_Icons8 automatically handles the ScaleFactor for you.<br />
<br />
Compatible with '''Desktop, Console''' and '''iOS''' applications.<br />
<br />
<br />
<br />
<br />
{| class=propertyTable<br />
|-<br />
|class=titleClass colspan=1|Properties<br />
|-<br />
|{{Property | name=Completed | type=Boolean | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=IconColor | type=Color | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=IconSize | type=Integer | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=IconStyle | type=jly_Icons8.Styles | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=propertyTable<br />
|-<br />
|class=titleClass colspan=1|Shared Properties<br />
|-<br />
|{{Property | name=globalScaleFactor | type=Double | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=globalStyle | type=Styles | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=UseCache | type=Boolean | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=methodTable<br />
|-<br />
|class=titleClass colspan=1|Methods<br />
|-<br />
|{{Method | name=Constructor | params=style As Styles = Styles.ios, Size As Integer, aColor As Color= &c0 | description= | newinversion=}}<br />
|-<br />
|{{Method | name=Destructor | description= | newinversion=}}<br />
|-<br />
|{{Method | name=FindImageInCache | params=Name As Text, CheckExpiry As Boolean = True | description= | returntype=Auto | newinversion=}}<br />
|-<br />
|{{Method | name=IconURL | params=Name As Text | description= | returntype=Text | newinversion=}}<br />
|-<br />
|{{Method | name=LoadIcon | params=Name As Text, callback As Auto, moreData As Xojo.Core.Dictionary = nil, IgnoreCache As Boolean = False | description= | newinversion=}}<br />
|-<br />
|{{Method | name=PreloadIcon | params=Name As Text, size As Integer = -1, IgnoreCache As Boolean = False | description= | newinversion=}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=methodTable<br />
|-<br />
|class=titleClass colspan=1|Shared Methods<br />
|-<br />
|{{Method | name=LoadIconSimple | params=Name As Text, Size As Integer, control As Auto, aColor as Color = &c0 | description= | returntype=jly_Icons8 | newinversion=}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
==Enumerations==<br />
<br />
<br />
'''Styles'''<br />
<br />
The following styles are available from Icons8<br />
<br />
*ios<br />
*win<br />
*win8<br />
*material<br />
*android4<br />
*color<br />
*office<br />
*ultraviolet<br />
*dotty<br />
*nolan<br />
*dusk<br />
==More Info==<br />
<br />
<br />
===Icons8===<br />
https://icons8.com<br />
<br />
===Icons8 License===<br />
https://icons8.com/license/</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.Constructor&diff=16144
Jly Icons8.Constructor
2017-06-04T15:32:50Z
<p>Admin: </p>
<hr />
<div>{{MethodBox<br />
| name=Constructor<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=style As Styles = Styles.ios, Size As Integer, aColor As Color= &c0<br />
| returntype=<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
<br />
The constructor for the class.<br />
<br />
The default ''style'' is iOS (line icons). Only the ''Size'' is a required parameter.<br />
<br />
The size should be the display size whatever the resolution.<br />
<br />
If you need a 32x32px icon for HiDPI Display, set the globalScaleFactor and set IconSize to 32 in this function.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8&diff=16143
Jly Icons8
2017-06-04T15:30:25Z
<p>Admin: /* More Info */</p>
<hr />
<div><br />
<br />
A very handy class that gives access to 50,000+ icons from Icons8<br />
<br />
The perfect tool for prototyping a design without having to include tens or hundreds of icons in your App, in both standard and HiDPI.<br />
<br />
jly_Icons8 automatically handles the ScaleFactor for you.<br />
<br />
Compatible with '''Desktop, Web, Console''' and '''iOS''' applications.<br />
<br />
<br />
<br />
<br />
{| class=propertyTable<br />
|-<br />
|class=titleClass colspan=1|Properties<br />
|-<br />
|{{Property | name=Completed | type=Boolean | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=IconColor | type=Color | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=IconSize | type=Integer | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=IconStyle | type=jly_Icons8.Styles | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=propertyTable<br />
|-<br />
|class=titleClass colspan=1|Shared Properties<br />
|-<br />
|{{Property | name=globalScaleFactor | type=Double | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=globalStyle | type=Styles | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=UseCache | type=Boolean | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=methodTable<br />
|-<br />
|class=titleClass colspan=1|Methods<br />
|-<br />
|{{Method | name=Constructor | params=style As Styles = Styles.ios, Size As Integer, aColor As Color= &c0 | description= | newinversion=}}<br />
|-<br />
|{{Method | name=Destructor | description= | newinversion=}}<br />
|-<br />
|{{Method | name=FindImageInCache | params=Name As Text, CheckExpiry As Boolean = True | description= | returntype=Auto | newinversion=}}<br />
|-<br />
|{{Method | name=IconURL | params=Name As Text | description= | returntype=Text | newinversion=}}<br />
|-<br />
|{{Method | name=LoadIcon | params=Name As Text, callback As Auto, moreData As Xojo.Core.Dictionary = nil, IgnoreCache As Boolean = False | description= | newinversion=}}<br />
|-<br />
|{{Method | name=PreloadIcon | params=Name As Text, size As Integer = -1, IgnoreCache As Boolean = False | description= | newinversion=}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=methodTable<br />
|-<br />
|class=titleClass colspan=1|Shared Methods<br />
|-<br />
|{{Method | name=LoadIconSimple | params=Name As Text, Size As Integer, control As Auto, aColor as Color = &c0 | description= | returntype=jly_Icons8 | newinversion=}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
==Enumerations==<br />
<br />
<br />
'''Styles'''<br />
<br />
The following styles are available from Icons8<br />
<br />
*ios<br />
*win<br />
*win8<br />
*material<br />
*android4<br />
*color<br />
*office<br />
*ultraviolet<br />
*dotty<br />
*nolan<br />
*dusk<br />
==More Info==<br />
<br />
<br />
===Icons8===<br />
https://icons8.com<br />
<br />
===Icons8 License===<br />
https://icons8.com/license/</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.globalStyle&diff=16136
Jly Icons8.globalStyle
2017-06-04T15:29:42Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=globalStyle<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Styles<br />
| readonly=no<br />
}}<br />
<br />
<br />
The style to use with [[jly_Icons8.LoadIconSimple|LoadIconSimple]] method.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.Completed&diff=16138
Jly Icons8.Completed
2017-06-04T15:29:42Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=Completed<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Boolean<br />
| readonly=no<br />
}}<br />
<br />
<br />
This property will be True when icon loading is completed.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.globalScaleFactor&diff=16140
Jly Icons8.globalScaleFactor
2017-06-04T15:29:42Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=globalScaleFactor<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Double<br />
| readonly=no<br />
}}<br />
<br />
<br />
This property isn't accessible on iOS because it is handled automatically.<br />
<br />
On desktop apps, set this property to self.ScaleFactor in the main Window.Open event.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.UseCache&diff=16142
Jly Icons8.UseCache
2017-06-04T15:29:42Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=UseCache<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Boolean<br />
| readonly=no<br />
}}<br />
<br />
<br />
If True, the Icons8 class will cache all icons in<br />
xojo.IO.SpecialFolder.Caches.Child("icons8") folder.<br />
<br />
This enables displaying the icons without network access as long as they were loaded once.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.IconSize&diff=16134
Jly Icons8.IconSize
2017-06-04T15:29:41Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=IconSize<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Integer<br />
| readonly=no<br />
}}<br />
<br />
<br />
The size of the icon that will be loaded with this instance of jly_Icons8.<br />
<br />
If you need an 32x32px icon @2x (for HiDPI) set this property to 32 and [[jly_Icons8.globalScaleFactor|globalScaleFactor]] to 2.0</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8&diff=16114
Jly Icons8
2017-06-04T15:29:41Z
<p>Admin: 1 revision imported</p>
<hr />
<div><br />
<br />
A very handy class that gives access to 50,000+ icons from Icons8<br />
<br />
The perfect tool for prototyping a design without having to include tens or hundreds of icons in your App, in both standard and HiDPI.<br />
<br />
jly_Icons8 automatically handles the ScaleFactor for you.<br />
<br />
Compatible with '''Desktop, Web, Console''' and '''iOS''' applications.<br />
<br />
<br />
<br />
<br />
{| class=propertyTable<br />
|-<br />
|class=titleClass colspan=1|Properties<br />
|-<br />
|{{Property | name=Completed | type=Boolean | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=IconColor | type=Color | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=IconSize | type=Integer | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=IconStyle | type=jly_Icons8.Styles | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=propertyTable<br />
|-<br />
|class=titleClass colspan=1|Shared Properties<br />
|-<br />
|{{Property | name=globalScaleFactor | type=Double | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=globalStyle | type=Styles | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=UseCache | type=Boolean | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=methodTable<br />
|-<br />
|class=titleClass colspan=1|Methods<br />
|-<br />
|{{Method | name=Constructor | params=style As Styles = Styles.ios, Size As Integer, aColor As Color= &c0 | description= | newinversion=}}<br />
|-<br />
|{{Method | name=Destructor | description= | newinversion=}}<br />
|-<br />
|{{Method | name=FindImageInCache | params=Name As Text, CheckExpiry As Boolean = True | description= | returntype=Auto | newinversion=}}<br />
|-<br />
|{{Method | name=IconURL | params=Name As Text | description= | returntype=Text | newinversion=}}<br />
|-<br />
|{{Method | name=LoadIcon | params=Name As Text, callback As Auto, moreData As Xojo.Core.Dictionary = nil, IgnoreCache As Boolean = False | description= | newinversion=}}<br />
|-<br />
|{{Method | name=PreloadIcon | params=Name As Text, size As Integer = -1, IgnoreCache As Boolean = False | description= | newinversion=}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=methodTable<br />
|-<br />
|class=titleClass colspan=1|Shared Methods<br />
|-<br />
|{{Method | name=LoadIconSimple | params=Name As Text, Size As Integer, control As Auto, aColor as Color = &c0 | description= | returntype=jly_Icons8 | newinversion=}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
==Enumerations==<br />
<br />
<br />
'''Styles'''<br />
<br />
The following styles are available from Icons8<br />
<br />
*ios<br />
*win<br />
*win8<br />
*material<br />
*android4<br />
*color<br />
*office<br />
*ultraviolet<br />
*dotty<br />
*nolan<br />
*dusk<br />
==More Info==<br />
<br />
<br />
Icons8<br />
https://icons8.com<br />
<br />
Icons8 License<br />
https://icons8.com/license/</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.LoadIcon&diff=16116
Jly Icons8.LoadIcon
2017-06-04T15:29:41Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=LoadIcon<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text, callback As Auto, moreData As Xojo.Core.Dictionary = nil, IgnoreCache As Boolean = False<br />
| returntype=<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
Searches the icon in cache and loads it from the icons8 CDN if it wasn't found.<br />
The Icon is sent back to the'' callback'' delegate.<br />
Use'' moreData'' dictionary to set additional parameters if needed.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.Constructor&diff=16118
Jly Icons8.Constructor
2017-06-04T15:29:41Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=Constructor<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=style As Styles = Styles.ios, Size As Integer, aColor As Color= &c0<br />
| returntype=<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
The [[jly_Icons8.Constructor|Constructor]] for the class.<br />
The default ''style'' is iOS (line icons). Only the'' Size'' is a required parameter.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.Destructor&diff=16120
Jly Icons8.Destructor
2017-06-04T15:29:41Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=Destructor<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=<br />
| returntype=<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
The [[jly_Icons8.Destructor|Destructor]] for the class.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.LoadIconSimple&diff=16122
Jly Icons8.LoadIconSimple
2017-06-04T15:29:41Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=LoadIconSimple<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text, Size As Integer, control As Auto, aColor as Color = &c0<br />
| returntype=jly_Icons8<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
The simplest way to set an image using Icons8.<br />
<br />
==Control compatibility==<br />
<br />
*iOS*<br />
*iOSImageView<br />
*iOSToolButton<br />
*iOSTableCellData</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.IconURL&diff=16124
Jly Icons8.IconURL
2017-06-04T15:29:41Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=IconURL<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text<br />
| returntype=Text<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
Returns the URL to the icon with the given parameters</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.FindImageInCache&diff=16126
Jly Icons8.FindImageInCache
2017-06-04T15:29:41Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=FindImageInCache<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text, CheckExpiry As Boolean = True<br />
| returntype=Auto<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
Searches the cache to find an image by its URL.<br />
If'' CheckExpiry'' is False, the cache expiration set by the server will be overridden.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.PreloadIcon&diff=16128
Jly Icons8.PreloadIcon
2017-06-04T15:29:41Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=PreloadIcon<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text, size As Integer = -1, IgnoreCache As Boolean = False<br />
| returntype=<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
Preloads an icon based on IconSize, [[jly_Icons8.IconColor|IconColor]] and IconStyle.<br />
If Force is true, the image will be loaded from the Internet whatever the cache expiration date.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.IconStyle&diff=16130
Jly Icons8.IconStyle
2017-06-04T15:29:41Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=IconStyle<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=jly_Icons8.Styles<br />
| readonly=no<br />
}}<br />
<br />
<br />
The style of the icon that will be loaded with this instance of jly_Icons8.<br />
<br />
Use the Styles enumeration to see the list of available styles.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.IconColor&diff=16132
Jly Icons8.IconColor
2017-06-04T15:29:41Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=IconColor<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Color<br />
| readonly=no<br />
}}<br />
<br />
<br />
The color of the icon that will be loaded with this instance of jly_Icons8.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8&diff=16080
Jly Icons8
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div><br />
<br />
A very handy class that gives access to 50,000+ icons from Icons8<br />
<br />
The perfect tool for prototyping a design without having to include tens or hundreds of icons in your App, in both standard and HiDPI.<br />
<br />
jly_Icons8 automatically handles the ScaleFactor for you.<br />
<br />
<br />
<br />
<br />
<br />
{| class=propertyTable<br />
|-<br />
|class=titleClass colspan=1|Properties<br />
|-<br />
|{{Property | name=callback | type=LoadIconDelegate | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=callbackiOS | type=LoadIconDelegateiOS | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=Completed | type=Boolean | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=IconColor | type=Color | description=The color of the icon that will be loaded with this instance of jly_Icons8. | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=IconSize | type=Integer | description=The size of the icon that will be loaded with this instance of jly_Icons8. | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=IconStyle | type=jly_Icons8.Styles | description=The style of the icon that will be loaded with this instance of jly_Icons8. | readonly=no | newinversion= | version=1}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=propertyTable<br />
|-<br />
|class=titleClass colspan=1|Shared Properties<br />
|-<br />
|{{Property | name=globalScaleFactor | type=Double | description=This property isn't accessible on iOS because it is handled automatically. | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=globalStyle | type=Styles | description=The style to use with [[jly_Icons8.LoadIconSimple|LoadIconSimple]] method. | readonly=no | newinversion= | version=1}}<br />
|-<br />
|{{Property | name=UseCache | type=Boolean | description=If True, the Icons8 class will cache all icons in | readonly=no | newinversion= | version=1}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
{| class=methodTable<br />
|-<br />
|class=titleClass colspan=1|Methods<br />
|-<br />
|{{Method | name=Constructor | params=style As Styles = Styles.ios, Size As Integer, aColor As Color= &c0 | description=The [[jly_Icons8.Constructor|Constructor]] for the class. | newinversion=}}<br />
|-<br />
|{{Method | name=Destructor | description=The [[jly_Icons8.Destructor|Destructor]] for the class. | newinversion=}}<br />
|-<br />
|{{Method | name=FindImageInCache | params=Name As Text, CheckExpiry As Boolean = True | description=Searches the cache to find an image by its URL. | returntype=Auto | newinversion=}}<br />
|-<br />
|{{Method | name=IconURL | params=Name As Text | description=Returns the URL to the icon with the given parameters | returntype=Text | newinversion=}}<br />
|-<br />
|{{Method | name=LoadIcon | params=Name As Text, callback As Auto, moreData As Xojo.Core.Dictionary = nil, IgnoreCache As Boolean = False | description=Searches the icon in cache and loads it from the icons8 CDN if it wasn't found. | newinversion=}}<br />
|-<br />
|{{Method | name=LoadIconSimple | params=Name As Text, Size As Integer, control As Auto, aColor as Color = &c0 | description=The simplest way to set an image using Icons8. | returntype=jly_Icons8 | newinversion=}}<br />
|-<br />
|{{Method | name=PreloadIcon | params=Name As Text, size As Integer = -1, IgnoreCache As Boolean = False | description=Preloads an icon based on IconSize, [[jly_Icons8.IconColor|IconColor]] and IconStyle. | newinversion=}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
<br />
==Enumerations==<br />
<br />
<br />
==Styles==<br />
<br />
The following styles are available from Icons8<br />
<br />
*ios<br />
*win<br />
*win8<br />
*material<br />
*android4<br />
*color<br />
*office<br />
*ultraviolet<br />
*dotty<br />
*nolan<br />
*dusk</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.LoadIcon&diff=16082
Jly Icons8.LoadIcon
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=LoadIcon<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text, callback As Auto, moreData As Xojo.Core.Dictionary = nil, IgnoreCache As Boolean = False<br />
| returntype=<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
Searches the icon in cache and loads it from the icons8 CDN if it wasn't found.<br />
The Icon is sent back to the'' callback'' delegate.<br />
Use'' moreData'' dictionary to set additional parameters if needed.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.Constructor&diff=16084
Jly Icons8.Constructor
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=Constructor<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=style As Styles = Styles.ios, Size As Integer, aColor As Color= &c0<br />
| returntype=<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
The [[jly_Icons8.Constructor|Constructor]] for the class.<br />
The default ''style'' is iOS (line icons). Only the'' Size'' is a required parameter.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.Destructor&diff=16086
Jly Icons8.Destructor
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=Destructor<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=<br />
| returntype=<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
The [[jly_Icons8.Destructor|Destructor]] for the class.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.LoadIconSimple&diff=16088
Jly Icons8.LoadIconSimple
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=LoadIconSimple<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text, Size As Integer, control As Auto, aColor as Color = &c0<br />
| returntype=jly_Icons8<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
The simplest way to set an image using Icons8.<br />
<br />
==Control compatibility==<br />
<br />
*iOS*<br />
*iOSImageView<br />
*iOSToolButton<br />
*iOSTableCellData</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.IconURL&diff=16090
Jly Icons8.IconURL
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=IconURL<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text<br />
| returntype=Text<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
Returns the URL to the icon with the given parameters</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.FindImageInCache&diff=16092
Jly Icons8.FindImageInCache
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=FindImageInCache<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text, CheckExpiry As Boolean = True<br />
| returntype=Auto<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
Searches the cache to find an image by its URL.<br />
If'' CheckExpiry'' is False, the cache expiration set by the server will be overridden.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.PreloadIcon&diff=16094
Jly Icons8.PreloadIcon
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=PreloadIcon<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text, size As Integer = -1, IgnoreCache As Boolean = False<br />
| returntype=<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
Preloads an icon based on IconSize, [[jly_Icons8.IconColor|IconColor]] and IconStyle.<br />
If Force is true, the image will be loaded from the Internet whatever the cache expiration date.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.IconStyle&diff=16096
Jly Icons8.IconStyle
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=IconStyle<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=jly_Icons8.Styles<br />
| readonly=no<br />
}}<br />
<br />
<br />
The style of the icon that will be loaded with this instance of jly_Icons8.<br />
<br />
Use the Styles enumeration to see the list of available styles.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.IconColor&diff=16098
Jly Icons8.IconColor
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=IconColor<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Color<br />
| readonly=no<br />
}}<br />
<br />
<br />
The color of the icon that will be loaded with this instance of jly_Icons8.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.IconSize&diff=16100
Jly Icons8.IconSize
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=IconSize<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Integer<br />
| readonly=no<br />
}}<br />
<br />
<br />
The size of the icon that will be loaded with this instance of jly_Icons8.<br />
<br />
If you need an 32x32px icon @2x (for HiDPI) set this property to 32 and [[jly_Icons8.globalScaleFactor|globalScaleFactor]] to 2.0</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.callbackiOS&diff=16102
Jly Icons8.callbackiOS
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=callbackiOS<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=LoadIconDelegateiOS<br />
| readonly=no<br />
}}</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.globalStyle&diff=16104
Jly Icons8.globalStyle
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=globalStyle<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Styles<br />
| readonly=no<br />
}}<br />
<br />
<br />
The style to use with [[jly_Icons8.LoadIconSimple|LoadIconSimple]] method.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.callback&diff=16106
Jly Icons8.callback
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=callback<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=LoadIconDelegate<br />
| readonly=no<br />
}}</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.Completed&diff=16108
Jly Icons8.Completed
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=Completed<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Boolean<br />
| readonly=no<br />
}}</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.globalScaleFactor&diff=16110
Jly Icons8.globalScaleFactor
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=globalScaleFactor<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Double<br />
| readonly=no<br />
}}<br />
<br />
<br />
This property isn't accessible on iOS because it is handled automatically.<br />
<br />
On desktop apps, set this property to self.ScaleFactor in the main Window.Open event.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.UseCache&diff=16112
Jly Icons8.UseCache
2017-06-04T15:05:00Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=UseCache<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Boolean<br />
| readonly=no<br />
}}<br />
<br />
<br />
If True, the Icons8 class will cache all icons in<br />
xojo.IO.SpecialFolder.Caches.Child("icons8") folder.<br />
<br />
This enables displaying the icons without network access as long as they were loaded once.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8&diff=16078
Jly Icons8
2017-06-04T14:51:14Z
<p>Admin: </p>
<hr />
<div><br />
<br />
A very handy class that gives access to 50,000+ icons from Icons8<br />
<br />
The perfect tool for prototyping a design without having to include tens or hundreds of icons in your App, in both standard and HiDPI.<br />
<br />
jly_Icons8 automatically handles the ScaleFactor for you.<br />
<br />
[[File:https://png.icons8.com/iphone/ultraviolet]]<br />
<br />
<br />
<br />
<br />
<br />
{| class=propertyTable<br />
|-<br />
|class=titleClass colspan=2|Properties<br />
|-<br />
|width=50%|{{Property | name=callback | type=LoadIconDelegate | description= | readonly=no | newinversion= | version=1}}<br />
|width=50%|{{Property | name=IconColor | type=Color | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|width=50%|{{Property | name=callbackiOS | type=LoadIconDelegateiOS | description= | readonly=no | newinversion= | version=1}}<br />
|width=50%|{{Property | name=IconSize | type=Integer | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|width=50%|{{Property | name=Completed | type=Boolean | description= | readonly=no | newinversion= | version=1}}<br />
|width=50%|{{Property | name=IconStyle | type=jly_Icons8.Styles | description= | readonly=no | newinversion= | version=1}}<br />
|-<br />
|width=50%|{{Property | name=globalScaleFactor | type=Double | description=This property isn't accessible on iOS because it is handled automatically. | readonly=no | newinversion= | version=1}}<br />
|width=50%|{{Property | name=UseCache | type=Boolean | description=If True, the Icons8 class will cache all icons in | readonly=no | newinversion= | version=1}}<br />
|-<br />
|width=50%|{{Property | name=globalStyle | type=Styles | description=The style to use with [[jly_Icons8.LoadIconSimple|LoadIconSimple]] method. | readonly=no | newinversion= | version=1}}<br />
<br />
|-<br />
|width=50%|{{Property | name=IconColor | type=Color | description= | readonly=no | newinversion= | version=1}}<br />
|}<br />
<br />
<br />
<br />
{| class=methodTable<br />
|-<br />
|class=titleClass colspan=1|Methods<br />
|-<br />
|{{Method | name=Constructor | params=style As Styles = Styles.ios, Size As Integer, aColor As Color= &c0 | description=The [[jly_Icons8.Constructor|Constructor]] for the class. | newinversion=}}<br />
|-<br />
|{{Method | name=Destructor | description=The [[jly_Icons8.Destructor|Destructor]] for the class. | newinversion=}}<br />
|-<br />
|{{Method | name=FindImageInCache | params=Name As Text, CheckExpiry As Boolean = True | description=Searches the cache to find an image by its URL. | returntype=Auto | newinversion=}}<br />
|-<br />
|{{Method | name=IconURL | params=Name As Text | description=Returns the URL to the icon with the given parameters | returntype=Text | newinversion=}}<br />
|-<br />
|{{Method | name=LoadIcon | params=Name As Text, callback As Auto, moreData As Xojo.Core.Dictionary = nil, IgnoreCache As Boolean = False | description=Searches the icon in cache and loads it from the icons8 CDN if it wasn't found. | newinversion=}}<br />
|-<br />
|{{Method | name=LoadIconSimple | params=Name As Text, Size As Integer, control As Auto, aColor as Color = &c0 | description=The simplest way to set an image using Icons8. | returntype=jly_Icons8 | newinversion=}}<br />
|-<br />
|{{Method | name=PreloadIcon | params=Name As Text, size As Integer = -1, IgnoreCache As Boolean = False | description=Preloads an icon based on IconSize, [[jly_Icons8.IconColor|IconColor]] and IconStyle. | newinversion=}}<br />
|-<br />
<br />
|-<br />
|}<br />
<br />
<br />
<br />
==Enumerations==<br />
<br />
<br />
==Styles==<br />
<br />
The following styles are available from Icons8<br />
<br />
*ios<br />
*win<br />
*win8<br />
*material<br />
*android4<br />
*color<br />
*office<br />
*ultraviolet<br />
*dotty<br />
*nolan<br />
*dusk</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.Destructor&diff=16051
Jly Icons8.Destructor
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=Destructor<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=<br />
| returntype=<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
The [[jly_Icons8.Destructor|Destructor]] for the class.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.LoadIconSimple&diff=16053
Jly Icons8.LoadIconSimple
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=LoadIconSimple<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text, Size As Integer, control As Auto, aColor as Color = &c0<br />
| returntype=jly_Icons8<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
The simplest way to set an image using Icons8.<br />
<br />
==Control compatibility==<br />
<br />
*iOS*<br />
*iOSImageView<br />
*iOSToolButton<br />
*iOSTableCellData</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.IconURL&diff=16055
Jly Icons8.IconURL
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=IconURL<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text<br />
| returntype=Text<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
Returns the URL to the icon with the given parameters</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.FindImageInCache&diff=16057
Jly Icons8.FindImageInCache
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=FindImageInCache<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text, CheckExpiry As Boolean = True<br />
| returntype=Auto<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
Searches the cache to find an image by its URL.<br />
If'' CheckExpiry'' is False, the cache expiration set by the server will be overridden.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.PreloadIcon&diff=16059
Jly Icons8.PreloadIcon
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{MethodBox<br />
| name=PreloadIcon<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| parameters=Name As Text, size As Integer = -1, IgnoreCache As Boolean = False<br />
| returntype=<br />
| version=1<br />
| platform=all<br />
}}<br />
<br />
<br />
Preloads an icon based on IconSize, [[jly_Icons8.IconColor|IconColor]] and IconStyle.<br />
If Force is true, the image will be loaded from the Internet whatever the cache expiration date.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.IconStyle&diff=16061
Jly Icons8.IconStyle
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=IconStyle<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=jly_Icons8.Styles<br />
| readonly=no<br />
}}</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.IconColor&diff=16063
Jly Icons8.IconColor
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=IconColor<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Color<br />
| readonly=no<br />
}}</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.IconSize&diff=16065
Jly Icons8.IconSize
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=IconSize<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Integer<br />
| readonly=no<br />
}}</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.callbackiOS&diff=16067
Jly Icons8.callbackiOS
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=callbackiOS<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=LoadIconDelegateiOS<br />
| readonly=no<br />
}}</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.globalStyle&diff=16069
Jly Icons8.globalStyle
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=globalStyle<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Styles<br />
| readonly=no<br />
}}<br />
<br />
<br />
The style to use with [[jly_Icons8.LoadIconSimple|LoadIconSimple]] method.</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.callback&diff=16071
Jly Icons8.callback
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=callback<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=LoadIconDelegate<br />
| readonly=no<br />
}}</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.Completed&diff=16073
Jly Icons8.Completed
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=Completed<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Boolean<br />
| readonly=no<br />
}}</div>
Admin
https://www.jeremieleroy.com/wiki/index.php?title=Jly_Icons8.globalScaleFactor&diff=16075
Jly Icons8.globalScaleFactor
2017-06-04T14:39:33Z
<p>Admin: 1 revision imported</p>
<hr />
<div>{{PropertyBox<br />
| name=globalScaleFactor<br />
| owner=[[jly_Icons8]]<br />
| ownertype=class<br />
| scope=public<br />
| type=Double<br />
| readonly=no<br />
}}<br />
<br />
<br />
This property isn't accessible on iOS because it is handled automatically.<br />
<br />
On desktop apps, set this property to self.ScaleFactor in the main Window.Open event.</div>
Admin