diff --git a/components/nicesidebar/Demo1/Project_Delphi/Project1.dof b/components/nicesidebar/Demo1/Project_Delphi/Project1.dof
new file mode 100644
index 000000000..e49002fb8
--- /dev/null
+++ b/components/nicesidebar/Demo1/Project_Delphi/Project1.dof
@@ -0,0 +1,143 @@
+[FileVersion]
+Version=7.0
+[Compiler]
+A=8
+B=0
+C=1
+D=1
+E=0
+F=0
+G=1
+H=1
+I=1
+J=0
+K=0
+L=1
+M=0
+N=1
+O=1
+P=1
+Q=0
+R=0
+S=0
+T=0
+U=0
+V=1
+W=0
+X=1
+Y=1
+Z=1
+ShowHints=1
+ShowWarnings=1
+UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
+NamespacePrefix=
+SymbolDeprecated=1
+SymbolLibrary=1
+SymbolPlatform=1
+UnitLibrary=1
+UnitPlatform=1
+UnitDeprecated=1
+HResultCompat=1
+HidingMember=1
+HiddenVirtual=1
+Garbage=1
+BoundsError=1
+ZeroNilCompat=1
+StringConstTruncated=1
+ForLoopVarVarPar=1
+TypedConstVarPar=1
+AsgToTypedConst=1
+CaseLabelRange=1
+ForVariable=1
+ConstructingAbstract=1
+ComparisonFalse=1
+ComparisonTrue=1
+ComparingSignedUnsigned=1
+CombiningSignedUnsigned=1
+UnsupportedConstruct=1
+FileOpen=1
+FileOpenUnitSrc=1
+BadGlobalSymbol=1
+DuplicateConstructorDestructor=1
+InvalidDirective=1
+PackageNoLink=1
+PackageThreadVar=1
+ImplicitImport=1
+HPPEMITIgnored=1
+NoRetVal=1
+UseBeforeDef=1
+ForLoopVarUndef=1
+UnitNameMismatch=1
+NoCFGFileFound=1
+MessageDirective=1
+ImplicitVariants=1
+UnicodeToLocale=1
+LocaleToUnicode=1
+ImagebaseMultiple=1
+SuspiciousTypecast=1
+PrivatePropAccessor=1
+UnsafeType=0
+UnsafeCode=0
+UnsafeCast=0
+[Linker]
+MapFile=0
+OutputObjs=0
+ConsoleApp=1
+DebugInfo=0
+RemoteSymbols=0
+MinStackSize=16384
+MaxStackSize=1048576
+ImageBase=4194304
+ExeDescription=
+[Directories]
+OutputDir=
+UnitOutputDir=
+PackageDLLOutputDir=
+PackageDCPOutputDir=
+SearchPath=..\..\source\
+Packages=vcl;rtl;dbrtl;adortl;vcldb;vclx;bdertl;vcldbx;ibxpress;dsnap;cds;bdecds;teeui;teedb;tee;dss;dsnapcrba;dsnapcon;VclSmp;vclie;xmlrtl;inet;inetdbbde;inetdbxpress;inetdb;webdsnap;websnap;dbexpress;dbxcds;RxCtl6;Commons;XLSPkg;GridPreviewD6;NiceGridD6;NicePreviewD6;NiceSettingsPkg
+Conditionals=
+DebugSourceDirs=
+UsePackages=0
+[Parameters]
+RunParams=
+HostApplication=
+Launcher=
+UseLauncher=0
+DebugCWD=
+[Language]
+ActiveLang=
+ProjectLang=
+RootDir=C:\PROGRAM FILES\BORLAND\DELPHI6\BIN\
+[Version Info]
+IncludeVerInfo=1
+AutoIncBuild=0
+MajorVer=1
+MinorVer=0
+Release=0
+Build=0
+Debug=0
+PreRelease=0
+Special=0
+Private=0
+DLL=0
+Locale=1033
+CodePage=1252
+[Version Info Keys]
+CompanyName=
+FileDescription=
+FileVersion=1.0.0.0
+InternalName=
+LegalCopyright=
+LegalTrademarks=
+OriginalFilename=
+ProductName=
+ProductVersion=1.0.0.0
+Comments=
+[HistoryLists\hlUnitAliases]
+Count=1
+Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
+[HistoryLists\hlSearchPath]
+Count=2
+Item0=..\..\source\
+Item1=..
diff --git a/components/nicesidebar/Demo1/Project_Delphi/Project1.dpr b/components/nicesidebar/Demo1/Project_Delphi/Project1.dpr
new file mode 100644
index 000000000..74baed530
--- /dev/null
+++ b/components/nicesidebar/Demo1/Project_Delphi/Project1.dpr
@@ -0,0 +1,13 @@
+program Project1;
+
+uses
+ Forms,
+ Unit1 in '..\common\Unit1.pas' {Form1};
+
+{$R *.res}
+
+begin
+ Application.Initialize;
+ Application.CreateForm(TForm1, Form1);
+ Application.Run;
+end.
diff --git a/components/nicesidebar/Demo1/Project_Delphi/Project1.dproj b/components/nicesidebar/Demo1/Project_Delphi/Project1.dproj
new file mode 100644
index 000000000..c975b0fca
--- /dev/null
+++ b/components/nicesidebar/Demo1/Project_Delphi/Project1.dproj
@@ -0,0 +1,149 @@
+
+
+ {61D27277-CEBC-4D1C-A55C-B4902E782271}
+ Project1.dpr
+ True
+ Debug
+ 1
+ Application
+ VCL
+ 19.5
+ Win32
+
+
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Cfg_1
+ true
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Cfg_2
+ true
+ true
+
+
+ false
+ false
+ false
+ true
+ false
+ 00400000
+ 1
+ 1
+ ..\common;..\..\source\;$(DCC_UnitSearchPath)
+ vcl;rtl;dbrtl;adortl;vcldb;vclx;bdertl;vcldbx;ibxpress;dsnap;cds;bdecds;teeui;teedb;tee;dss;dsnapcrba;dsnapcon;VclSmp;vclie;xmlrtl;inet;inetdbbde;inetdbxpress;inetdb;webdsnap;websnap;dbexpress;dbxcds;RxCtl6;Commons;XLSPkg;GridPreviewD6;NiceGridD6;NicePreviewD6;NiceSettingsPkg;$(DCC_UsePackage)
+ Project1
+ Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;Winapi;$(DCC_Namespace)
+ 1033
+ CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=
+
+
+ System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)
+ Debug
+ true
+ CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName)
+ 1033
+ $(BDS)\bin\default_app.manifest
+ Project1_Icon.ico
+ $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png
+ $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png
+
+
+ Project1_Icon.ico
+ $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png
+ $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png
+
+
+ RELEASE;$(DCC_Define)
+ 0
+ false
+ 0
+
+
+ PerMonitorV2
+
+
+ DEBUG;$(DCC_Define)
+ false
+ true
+ true
+ true
+
+
+ PerMonitorV2
+ true
+ CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName)
+
+
+
+ MainSource
+
+
+
+
+
+ Base
+
+
+ Cfg_1
+ Base
+
+
+ Cfg_2
+ Base
+
+
+
+ Delphi.Personality.12
+
+
+
+
+ Project1.dpr
+
+
+ Microsoft Office 2000 Beispiele für gekapselte Komponenten für Automatisierungsserver
+ Microsoft Office XP Beispiele für gekapselte Komponenten für Automation Server
+ Datei C:\Users\Werner-3\Documents\Embarcadero\Studio\22.0\Bpl\Win32\JclBaseExpert280.bpl nicht gefunden
+ Datei C:\Users\Werner-3\Documents\Embarcadero\Studio\22.0\Bpl\Win32\JclDebugExpert280.bpl nicht gefunden
+ Datei C:\Users\Werner-3\Documents\Embarcadero\Studio\22.0\Bpl\Win32\JclProjectAnalysisExpert280.bpl nicht gefunden
+ Datei C:\Users\Werner-3\Documents\Embarcadero\Studio\22.0\Bpl\Win32\JclFavoriteFoldersExpert280.bpl nicht gefunden
+ Datei C:\Users\Werner-3\Documents\Embarcadero\Studio\22.0\Bpl\Win32\JclRepositoryExpert280.bpl nicht gefunden
+ Datei C:\Users\Werner-3\Documents\Embarcadero\Studio\22.0\Bpl\Win32\JclSIMDViewExpert280.bpl nicht gefunden
+ Datei C:\Users\Werner-3\Documents\Embarcadero\Studio\22.0\Bpl\Win32\JclStackTraceViewerExpert280.bpl nicht gefunden
+
+
+
+ True
+ False
+
+
+ 12
+
+
+
+
diff --git a/components/nicesidebar/Demo1/Project_Delphi/Project1_Icon.ico b/components/nicesidebar/Demo1/Project_Delphi/Project1_Icon.ico
new file mode 100644
index 000000000..cfd8992a5
Binary files /dev/null and b/components/nicesidebar/Demo1/Project_Delphi/Project1_Icon.ico differ
diff --git a/components/nicesidebar/Demo1/Project_Lazarus/Project1.lpi b/components/nicesidebar/Demo1/Project_Lazarus/Project1.lpi
new file mode 100644
index 000000000..90ec44fda
--- /dev/null
+++ b/components/nicesidebar/Demo1/Project_Lazarus/Project1.lpi
@@ -0,0 +1,83 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/nicesidebar/Demo1/Project_Lazarus/Project1.lpr b/components/nicesidebar/Demo1/Project_Lazarus/Project1.lpr
new file mode 100644
index 000000000..1b3b0edc8
--- /dev/null
+++ b/components/nicesidebar/Demo1/Project_Lazarus/Project1.lpr
@@ -0,0 +1,15 @@
+program Project1;
+
+uses
+ Interfaces,
+ Forms,
+ Unit1 in '..\common\Unit1.pas' {Form1};
+
+{$R *.res}
+
+begin
+ Application.Scaled:=True;
+ Application.Initialize;
+ Application.CreateForm(TForm1, Form1);
+ Application.Run;
+end.
diff --git a/components/nicesidebar/Demo1/common/Unit1.dfm b/components/nicesidebar/Demo1/common/Unit1.dfm
new file mode 100644
index 000000000..1e57d43df
--- /dev/null
+++ b/components/nicesidebar/Demo1/common/Unit1.dfm
@@ -0,0 +1,839 @@
+object Form1: TForm1
+ Left = 262
+ Top = 98
+ BorderStyle = bsNone
+ Caption = 'NiceSideBar Demo - priyatna.org'
+ ClientHeight = 484
+ ClientWidth = 623
+ Color = clWhite
+ Font.Charset = DEFAULT_CHARSET
+ Font.Color = clWindowText
+ Font.Height = -11
+ Font.Name = 'Segoi UI'
+ Font.Style = []
+ OldCreateOrder = True
+ Position = poDesktopCenter
+ DesignSize = (
+ 623
+ 484)
+ PixelsPerInch = 96
+ TextHeight = 14
+ object Shape1: TShape
+ Left = 0
+ Top = 0
+ Width = 623
+ Height = 113
+ Align = alTop
+ Brush.Color = 11626823
+ Pen.Color = 11626823
+ end
+ object Shape2: TShape
+ Left = 0
+ Top = 113
+ Width = 623
+ Height = 8
+ Align = alTop
+ Brush.Color = clBlack
+ end
+ object Label1: TLabel
+ Left = 121
+ Top = 24
+ Width = 483
+ Height = 59
+ Alignment = taRightJustify
+ Anchors = [akTop, akRight]
+ Caption = 'NiceSideBar Demo'
+ Font.Charset = DEFAULT_CHARSET
+ Font.Color = 16766894
+ Font.Height = -53
+ Font.Name = 'Bookman Old Style'
+ Font.Style = []
+ ParentFont = False
+ Transparent = True
+ end
+ object Label2: TLabel
+ Left = 373
+ Top = 72
+ Width = 228
+ Height = 36
+ Alignment = taRightJustify
+ Anchors = [akTop, akRight]
+ Caption = 'priyatna.org'
+ Font.Charset = DEFAULT_CHARSET
+ Font.Color = clWhite
+ Font.Height = -32
+ Font.Name = 'Courier New'
+ Font.Style = []
+ ParentFont = False
+ Transparent = True
+ end
+ object Label3: TLabel
+ Left = 216
+ Top = 432
+ Width = 66
+ Height = 14
+ Caption = 'Hovered Item:'
+ end
+ object Label4: TLabel
+ Left = 216
+ Top = 448
+ Width = 67
+ Height = 14
+ Caption = 'Selected Item:'
+ end
+ object Label5: TLabel
+ Left = 216
+ Top = 184
+ Width = 239
+ Height = 14
+ Caption = 'Click on red button in the right top corner to close.'
+ end
+ object Label6: TLabel
+ Left = 216
+ Top = 200
+ Width = 222
+ Height = 14
+ Caption = 'Click on green button to maximize and restore.'
+ end
+ object Label7: TLabel
+ Left = 216
+ Top = 216
+ Width = 163
+ Height = 14
+ Caption = 'Click on yellow button to minimize.'
+ end
+ object NiceSideBar1: TNiceSideBar
+ Left = 0
+ Top = 121
+ Width = 193
+ Height = 356
+ ItemStyle.NormalFont.Charset = DEFAULT_CHARSET
+ ItemStyle.NormalFont.Color = clWindowText
+ ItemStyle.NormalFont.Height = -11
+ ItemStyle.NormalFont.Name = 'Arial'
+ ItemStyle.NormalFont.Style = [fsBold]
+ ItemStyle.HoverFont.Charset = DEFAULT_CHARSET
+ ItemStyle.HoverFont.Color = clRed
+ ItemStyle.HoverFont.Height = -11
+ ItemStyle.HoverFont.Name = 'Arial'
+ ItemStyle.HoverFont.Style = [fsBold]
+ ItemStyle.SelectedFont.Charset = DEFAULT_CHARSET
+ ItemStyle.SelectedFont.Color = clWindowText
+ ItemStyle.SelectedFont.Height = -11
+ ItemStyle.SelectedFont.Name = 'Arial'
+ ItemStyle.SelectedFont.Style = [fsBold]
+ ItemStyle.DisabledFont.Charset = DEFAULT_CHARSET
+ ItemStyle.DisabledFont.Color = clGrayText
+ ItemStyle.DisabledFont.Height = -11
+ ItemStyle.DisabledFont.Name = 'Arial'
+ ItemStyle.DisabledFont.Style = [fsBold]
+ ItemStyle.NormalColor = 14145495
+ SubItemStyle.NormalFont.Charset = DEFAULT_CHARSET
+ SubItemStyle.NormalFont.Color = clWindowText
+ SubItemStyle.NormalFont.Height = -11
+ SubItemStyle.NormalFont.Name = 'Arial'
+ SubItemStyle.NormalFont.Style = []
+ SubItemStyle.HoverFont.Charset = DEFAULT_CHARSET
+ SubItemStyle.HoverFont.Color = clRed
+ SubItemStyle.HoverFont.Height = -11
+ SubItemStyle.HoverFont.Name = 'Arial'
+ SubItemStyle.HoverFont.Style = []
+ SubItemStyle.SelectedFont.Charset = DEFAULT_CHARSET
+ SubItemStyle.SelectedFont.Color = clWindowText
+ SubItemStyle.SelectedFont.Height = -11
+ SubItemStyle.SelectedFont.Name = 'Arial'
+ SubItemStyle.SelectedFont.Style = []
+ SubItemStyle.DisabledFont.Charset = DEFAULT_CHARSET
+ SubItemStyle.DisabledFont.Color = clGrayText
+ SubItemStyle.DisabledFont.Height = -11
+ SubItemStyle.DisabledFont.Name = 'Arial'
+ SubItemStyle.DisabledFont.Style = []
+ SubItemStyle.NormalColor = 14145495
+ Items = <
+ item
+ Caption = 'First Item'
+ ImageIndex = 5
+ Items.Strings = (
+ 'Ini Sub Item'
+ 'Ini Juga Sub Item'
+ 'Kalau Ini Memang'
+ 'Sub Item Juga')
+ end
+ item
+ Caption = 'Second Item'
+ ImageIndex = 1
+ Items.Strings = (
+ 'Ini Apaan Aja'
+ 'Pokoknya Sub Item'
+ 'Terserah Mau'
+ 'Apa Saja Boleh')
+ end
+ item
+ Caption = 'Third Item'
+ ImageIndex = 2
+ Items.Strings = (
+ 'Yang Penting'
+ 'Ini Sub Item'
+ 'Anda Jangan'
+ 'Protes Segala')
+ end
+ item
+ Caption = 'Fourth Item'
+ ImageIndex = 3
+ Items.Strings = (
+ 'Ini Mah Dua Aja'
+ 'Itemnya Jangan'
+ 'Banyak-banyak, yah!')
+ end>
+ ItemIndex = 1
+ SubItemIndex = 2
+ ItemHeight = 32
+ AlwaysExpand = False
+ Images = ImageList2
+ HoverImages = ImageList1
+ SelectedImages = ImageList1
+ OnHover = NiceSideBar1Hover
+ OnSelect = NiceSideBar1Select
+ BorderStyle = bsNone
+ ParentBackground = False
+ Color = 14145495
+ TabStop = True
+ TabOrder = 0
+ end
+ object Panel1: TPanel
+ Left = 537
+ Top = 16
+ Width = 17
+ Height = 17
+ Cursor = crHandPoint
+ Anchors = [akTop, akRight]
+ BevelOuter = bvNone
+ Color = 8454143
+ ParentBackground = False
+ TabOrder = 1
+ OnClick = Panel1Click
+ end
+ object Panel2: TPanel
+ Left = 561
+ Top = 16
+ Width = 17
+ Height = 17
+ Cursor = crHandPoint
+ Anchors = [akTop, akRight]
+ BevelOuter = bvNone
+ Color = 8454016
+ ParentBackground = False
+ TabOrder = 2
+ OnClick = Panel2Click
+ end
+ object Panel3: TPanel
+ Left = 585
+ Top = 16
+ Width = 17
+ Height = 17
+ Cursor = crHandPoint
+ Anchors = [akTop, akRight]
+ BevelOuter = bvNone
+ Color = clRed
+ ParentBackground = False
+ TabOrder = 3
+ OnClick = Panel3Click
+ end
+ object Panel4: TPanel
+ Left = 0
+ Top = 477
+ Width = 623
+ Height = 7
+ Align = alBottom
+ BevelOuter = bvNone
+ Caption = ' '
+ Color = clBlack
+ TabOrder = 4
+ end
+ object Button1: TButton
+ Left = 216
+ Top = 264
+ Width = 193
+ Height = 25
+ Caption = 'Toggle Item "Enable" Property'
+ TabOrder = 5
+ OnClick = Button1Click
+ end
+ object Button2: TButton
+ Left = 216
+ Top = 296
+ Width = 193
+ Height = 25
+ Caption = 'Toggle Sub Item "Enable" Property'
+ TabOrder = 6
+ OnClick = Button2Click
+ end
+ object Button3: TButton
+ Left = 216
+ Top = 328
+ Width = 193
+ Height = 25
+ Caption = 'Toggle Item "Visible" Property'
+ TabOrder = 7
+ OnClick = Button3Click
+ end
+ object Button4: TButton
+ Left = 216
+ Top = 360
+ Width = 193
+ Height = 25
+ Caption = 'Toggle Sub Item "Visible" Property'
+ TabOrder = 8
+ OnClick = Button4Click
+ end
+ object ImageList1: TImageList
+ Left = 216
+ Top = 136
+ Bitmap = {
+ 494C010107000900040010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+ 0000000000003600000028000000400000002000000001002000000000000020
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000008080800080808000808080008080
+ 8000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF000000
+ 0000FFFFFF000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000008080800000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000008080
+ 8000808080008080800080808000808080000000000000000000000000000000
+ 0000808080000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000008080800000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000000000000000000000000000FFFFFF00FFFFFF00FFFFFF000000
+ 0000808080000000000000000000000000000000000000000000000000000000
+ 0000FFFFFF000000000080808000000000000000000000000000000000000000
+ 00008080800000000000FFFFFF00000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FFFFFF00FFFFFF00FFFF
+ FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
+ FF00FFFFFF00FFFFFF0000000000000000000000000080808000FFFFFF000000
+ 000000000000FFFFFF00FFFFFF00FFFFFF00FFFFFF0000FFFF0000FFFF00FFFF
+ FF00000000008080800000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FFFFFF00808080008080
+ 8000808080008080800080808000808080008080800080808000808080008080
+ 80008080800080808000000000000000000000000000FFFFFF00000000000000
+ 00000000000080808000FFFFFF00FFFFFF00808080000000000000000000FFFF
+ FF00000000008080800000000000000000000000000000000000000000008000
+ 00000000000000000000FFFFFF0000000000FFFFFF0000000000FFFFFF000000
+ 0000FFFFFF000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FFFFFF0080808000FFFF
+ 0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
+ 0000FFFF000080808000000000000000000000000000FFFFFF00000000008080
+ 80000000000000000000FFFFFF00FFFFFF0080808000FFFFFF0000FFFF0000FF
+ FF00FFFFFF000000000080808000000000000000000000000000FF000000FF00
+ 0000FF0000000000000000000000000000000000000080000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FFFFFF0080808000FFFF
+ 0000FFFF0000FFFF000000008000000080000000800000008000FFFF0000FFFF
+ 0000FFFF00008080800000000000000000000000000000000000000000000000
+ 000000000000000000008080800000FFFF0000FFFF0080808000000000000000
+ 0000FFFFFF000000000080808000000000008080800080000000FF000000FF00
+ 0000FF00000000800000008000000080000000800000FF000000800000008080
+ 8000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FFFFFF0080808000FFFF
+ 0000FFFF00000000FF000000FF0000008000000080000000800000008000FFFF
+ 0000FFFF00008080800000000000000000000000000000000000FF0000000000
+ 0000FF0000000000000000000000000000000000000080808000FFFFFF0000FF
+ FF0000FFFF00FFFFFF00000000008080800080808000FF000000FF000000FF00
+ 0000FF0000000080000000800000008000000080000080800000FF0000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FFFFFF0080808000FFFF
+ 0000FFFF00000000FF000000FF0000008000FFFF0000FFFF0000FFFF0000FFFF
+ 0000FFFF0000808080000000000000000000000000000000000000000000FF00
+ 000000000000FF0000000000000080808000FFFFFF00FFFFFF00808080000000
+ 000000000000FFFFFF00000000008080800080808000FF000000FF0000000080
+ 00000080000000800000008000000080000000800000FF000000FF0000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FFFFFF0080808000FFFF
+ 0000FFFF0000FFFF00000000FF0000008000FFFF00000000800000008000FFFF
+ 0000FFFF00008080800000000000000000000000000000000000000000000000
+ 0000FF00000000000000FF00000000000000FFFFFF00FFFFFF00FFFFFF00FFFF
+ FF0000FFFF0000FFFF00FFFFFF000000000080808000FF000000008000000080
+ 0000008000000080000000800000800000008080000080000000008000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FFFFFF0080808000FFFF
+ 0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF0000FFFF
+ 0000FFFF00008080800000000000000000000000000000000000000000000000
+ 000000000000FF000000000000000000000080808000FFFFFF00FFFFFF00FFFF
+ FF000000000000000000000000000000000080808000FF000000000000000080
+ 000000800000800000000080000000800000FF00000000800000008000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FFFFFF00000000008080
+ 8000808080008080800080808000808080008080800080808000808080008080
+ 8000808080008080800000000000000000000000000000000000000000000000
+ 0000FF00000000000000FF000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000008080800080808000FF000000FFFF
+ FF0000000000FF000000FF000000FF000000FF00000000800000008000008080
+ 8000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FFFFFF00FFFFFF00FFFF
+ FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
+ FF00FFFFFF00FFFFFF0000000000000000000000000000000000000000000000
+ 000000000000FF00000000000000FF0000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000080808000FFFFFF000000
+ 0000FFFFFF000080000000800000008000000080000000800000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FFFFFF00FFFFFF00FFFF
+ FF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFFFF00FFFF
+ FF00FFFFFF00FFFFFF00FFFFFF00808080000000000000000000000000000000
+ 00000000000000000000FF000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000808080008080
+ 8000808000000000000000800000008000000080000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000008080800080808000808080008080
+ 8000808080008080800080808000808080008080800080808000808080008080
+ 8000808080008080800080808000808080000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000008080
+ 8000808080008080800080808000808080008080800000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000800000008000000080000000800000008000
+ 0000800000008000000080000000800000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000008080000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000000000000000000000000000000000000000000000000000FFFF
+ FF00000000000000000000000000000000000000000000000000000000000000
+ 000000000000000000000000000080000000FFFFFF00FFFFFF00FFFFFF00FFFF
+ FF00FFFFFF00FFFFFF00FFFFFF00800000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000080
+ 8000000000000000000000FFFF00000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000008080
+ 0000808000008080000080800000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000FFFFFF00FFFF
+ FF00FFFFFF0000000000000000000000000000000000C0C0C00000000000C0C0
+ C00000000000C0C0C0000000000080000000FFFFFF0000000000000000000000
+ 00000000000000000000FFFFFF00800000000000000000000000000000000000
+ 000000000000000000000000000000000000000000000000000000FFFF000000
+ 00000000000000FFFF0000FFFF00000000000000000080808000808080008080
+ 800080808000808080008080800080808000808080000000000080800000FFFF
+ 0000FFFF0000FFFFFF0000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000000000000FFFFFF00FF000000FFFF
+ FF00FFFFFF00FFFFFF000000000000000000C0C0C000FFFFFF00FFFFFF00FFFF
+ FF00FFFFFF00FFFFFF00FFFFFF0080000000FFFFFF00FFFFFF00FFFFFF00FFFF
+ FF00FFFFFF00FFFFFF00FFFFFF00800000000000000000000000000000000000
+ 0000000000000000000000000000008080000080800000808000000000000000
+ 000000FFFF0000FFFF0000000000000000000000000000000000FFFF00008080
+ 0000808000008080000080800000808000000000000080800000FFFF0000FFFF
+ 0000FFFFFF000000000000000000000000000000000000000000000000000000
+ 000000000000000000000000000000000000FFFFFF00FF000000FFFFFF00FF00
+ 00000000FF0000008000FFFFFF000000000000000000FFFFFF00C0C0C000FFFF
+ FF00C0C0C000FFFFFF00C0C0C00080000000FFFFFF0000000000000000000000
+ 00000000000000000000FFFFFF00800000000000000000000000008080000080
+ 80000080800000FFFF00000000000080800000FFFF00000000000000000000FF
+ FF0000FFFF00000000000000000000000000000000000000000000000000FFFF
+ 00008080000080800000808000000000000080800000FFFF0000FFFF0000FFFF
+ FF00000000008080000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000FFFFFF00FF000000FFFFFF00FF000000FFFF
+ FF0000008000000080000000000000000000C0C0C000FFFFFF00FFFFFF00C0C0
+ C000FFFFFF00C0C0C000FFFFFF0080000000FFFFFF00FFFFFF00FFFFFF00FFFF
+ FF00FFFFFF00FFFFFF00FFFFFF008000000000000000008080000080800000FF
+ FF0000FFFF0000FFFF0000FFFF0000FFFF00000000000000000000FFFF0000FF
+ FF00000000000000000000000000000000000000000000000000000000000000
+ 0000FFFF0000808000000000000080800000FFFF0000FFFF0000FFFFFF000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000FFFFFF00FFFFFF00FFFFFF00FF000000FFFFFF00FFFF
+ FF00FFFFFF0000000000000000000000000000000000FFFFFF00C0C0C000FFFF
+ FF00C0C0C000FFFFFF00C0C0C00080000000FFFFFF000000000000000000FFFF
+ FF0080000000800000008000000080000000000000000080800000FFFF0000FF
+ FF000080800000FFFF0000FFFF00000000000000000000FFFF0000FFFF000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000080800000FFFF0000FFFF0000FFFFFF00000000000000
+ 0000000000000000000000000000000000000000000000000000000000008080
+ 8000000000000000000000000000000000000000000000000000000000000000
+ 000000000000000000000080800000000000C0C0C000FFFFFF00FFFFFF00C0C0
+ C000FFFFFF00C0C0C000FFFFFF0080000000FFFFFF00FFFFFF00FFFFFF00FFFF
+ FF0080000000FFFFFF008000000000000000000000000080800000FFFF0000FF
+ FF0000FFFF000080800000FFFF0000FFFF000080800000FFFF00000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000080800000FFFF0000FFFF0000FFFFFF0000000000000000000000
+ 0000000000000000000000000000000000000000000000FFFF00008080000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000808000008080000000000000000000FFFFFF00C0C0C000FFFF
+ FF00C0C0C000FFFFFF00C0C0C00080000000FFFFFF00FFFFFF00FFFFFF00FFFF
+ FF00800000008000000000000000000000008080800080808000808080000000
+ 000000FFFF0000FFFF000080800000FFFF0000FFFF0000808000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 000080800000FFFF0000FFFF0000FFFFFF000000000080800000808080000000
+ 000000000000000000000000000000000000000000000000000000000000FFFF
+ FF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFF
+ FF0000FFFF00000000000080800000000000C0C0C000C0C0C000FFFFFF00C0C0
+ C000FFFFFF00C0C0C000FFFFFF00800000008000000080000000800000008000
+ 0000800000000000000000000000000000000000000000FFFF00000000000000
+ 00000000000000FFFF0000FFFF000080800000FFFF0000FFFF00000000000000
+ 0000000000000000000000000000000000000000000000000000000000008080
+ 0000FFFF0000FFFF0000FFFFFF0000000000FFFF000080800000808000008080
+ 8000000000000000000000000000000000000000000000000000FFFFFF0000FF
+ FF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FFFF00FFFFFF0000FF
+ FF00FFFFFF0000FFFF00000000000000000000000000FFFFFF00C0C0C000FFFF
+ FF00C0C0C000FFFFFF0000000000C0C0C0000000000000000000000000000000
+ 000000000000000000000000000000000000000000000080800000FFFF000000
+ 0000808080000000000000FFFF0000FFFF0000FFFF0000FFFF00000000000000
+ 000000000000000000000000000000000000000000000000000080800000FFFF
+ 0000FFFF0000FFFFFF00000000000000000000000000FFFF0000808000008080
+ 0000808080000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000000000000000000000000000C0C0C000FFFFFF00FFFFFF00FFFF
+ FF00FFFFFF00FFFFFF00C0C0C00000000000C0C0C00000000000000000000000
+ 00000000000000000000000000000000000000000000000000000080800000FF
+ FF00000000008080800000FFFF0000FFFF0000FFFF0000808000000000000000
+ 00000000000000000000000000000000000000000000FFFFFF00FFFFFF00FFFF
+ FF00FFFFFF000000000000000000000000000000000000000000FFFF0000FFFF
+ 0000FFFF0000FFFF000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000000000000C0C0C00000000000C0C0
+ C00000000000C0C0C00000000000C0C0C0000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000080
+ 800000FFFF008080800000FFFF0000FFFF000080800000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000008080800000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000000000000000000000000000424D3E000000000000003E000000
+ 2800000040000000200000000100010000000000000100000000000000000000
+ 000000000000000000000000FFFFFF00FFFFFFFFF8430000FFFFFF0FF5150000
+ 0000E007E80200007FFE8007E0E0000000020003E802000000021003C5150000
+ 000200018003000000028801000F000000029400000F00000002C800000F0000
+ 0002D400000F00000002EA00200F00002002E50F080F00000002F27F901F0000
+ 0000F57FC43F00000000F8FFE07F0000FFFFFFFFFFFFFFFFFFFFFFE1FFFFFFAF
+ FE00FFE4FFE0FF47FE00FF880000FE830000FE100001FD010000C0218003FA00
+ 00008043C001F40100000087E00108000000010FF01F45F00001001FF01F0000
+ 0003001FE00F40000007101FC0070000007F001F81030000017F801F0381FFFF
+ 00FFC03F07C1FFFFFFFFE07FFFFFFFFF00000000000000000000000000000000
+ 000000000000}
+ end
+ object ImageList2: TImageList
+ Left = 256
+ Top = 136
+ Bitmap = {
+ 494C010107000900040010001000FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600
+ 0000000000003600000028000000400000002000000001002000000000000020
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000069696900000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000008080800080808000808080008080
+ 8000000000000000000000000000000000000000000000000000000000000000
+ 00000000000069696900FEFEFE0069696900FEFEFE0000000000FEFEFE006969
+ 6900FEFEFE006969690000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000008080800000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000008080
+ 8000808080008080800080808000808080000000000000000000000000000000
+ 0000808080000000000000000000000000000000000000000000000000000000
+ 0000696969000000000000000000000000000000000000000000000000000000
+ 0000000000000000000069696900000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000008080800069696900696969006969
+ 6900696969006969690069696900696969006969690069696900696969006969
+ 6900696969006969690069696900000000000000000000000000000000000000
+ 000000000000000000000000000000000000FEFEFE00FEFEFE00FEFEFE000000
+ 0000808080000000000000000000000000000000000000000000000000000000
+ 0000FEFEFE000000000080808000000000006969690069696900696969000000
+ 00008080800000000000FEFEFE00000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FEFEFE00FEFEFE00FEFE
+ FE00FEFEFE00FEFEFE00FEFEFE00FEFEFE00FEFEFE00FEFEFE00FEFEFE00FEFE
+ FE00FEFEFE00FEFEFE0069696900000000000000000080808000FEFEFE000000
+ 000000000000FEFEFE00FEFEFE00FEFEFE00FEFEFE00E1E1E100E1E1E100FEFE
+ FE00000000008080800000000000000000000000000000000000000000000000
+ 0000696969000000000000000000000000000000000000000000000000000000
+ 0000000000000000000069696900000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FEFEFE00808080008080
+ 8000808080008080800080808000808080008080800080808000808080008080
+ 80008080800080808000696969000000000000000000FEFEFE00000000006969
+ 69000000000080808000FEFEFE00FEFEFE00808080000000000000000000FEFE
+ FE00000000008080800000000000000000000000000000000000000000000F0F
+ 0F000000000069696900FEFEFE0069696900FEFEFE0000000000FEFEFE006969
+ 6900FEFEFE006969690000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FEFEFE0080808000B2B2
+ B200B2B2B200B2B2B200B2B2B200B2B2B200B2B2B200B2B2B200B2B2B200B2B2
+ B200B2B2B20080808000696969000000000000000000FEFEFE00000000008080
+ 80000000000000000000FEFEFE00FEFEFE0080808000FEFEFE00E1E1E100E1E1
+ E100FEFEFE0000000000808080000000000000000000000000001D1D1D001D1D
+ 1D001D1D1D00000000000000000000000000000000000F0F0F00000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FEFEFE0080808000B2B2
+ B200B2B2B200B2B2B20026262600262626002626260026262600B2B2B200B2B2
+ B200B2B2B2008080800069696900000000000000000000000000000000000000
+ 0000696969000000000080808000E1E1E100E1E1E10080808000000000000000
+ 0000FEFEFE00000000008080800000000000000000000F0F0F001D1D1D001D1D
+ 1D001D1D1D004B4B4B004B4B4B004B4B4B004B4B4B001D1D1D000F0F0F008080
+ 8000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FEFEFE0080808000B2B2
+ B200B2B2B2004C4C4C004C4C4C0026262600262626002626260026262600B2B2
+ B200B2B2B20080808000696969000000000000000000000000001D1D1D006969
+ 69001D1D1D006969690000000000000000000000000080808000FEFEFE00E1E1
+ E100E1E1E100FEFEFE000000000000000000000000001D1D1D001D1D1D001D1D
+ 1D001D1D1D004B4B4B004B4B4B004B4B4B004B4B4B005A5A5A001D1D1D000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FEFEFE0080808000B2B2
+ B200B2B2B2004C4C4C004C4C4C0026262600B2B2B200B2B2B200B2B2B200B2B2
+ B200B2B2B2008080800069696900000000000000000000000000000000001D1D
+ 1D00696969001D1D1D000000000080808000FEFEFE00FEFEFE00808080000000
+ 000000000000FEFEFE000000000000000000000000001D1D1D001D1D1D004B4B
+ 4B004B4B4B004B4B4B004B4B4B004B4B4B004B4B4B001D1D1D001D1D1D000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FEFEFE0080808000B2B2
+ B200B2B2B200B2B2B2004C4C4C0026262600B2B2B2002626260026262600B2B2
+ B200B2B2B2008080800069696900000000000000000000000000000000006969
+ 69001D1D1D00696969001D1D1D0000000000FEFEFE00FEFEFE00FEFEFE00FEFE
+ FE00E1E1E100E1E1E100FEFEFE0000000000000000001D1D1D004B4B4B004B4B
+ 4B004B4B4B004B4B4B004B4B4B000F0F0F005A5A5A000F0F0F004B4B4B000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FEFEFE0080808000B2B2
+ B200B2B2B200B2B2B200B2B2B200B2B2B200B2B2B200B2B2B200B2B2B200B2B2
+ B200B2B2B2008080800069696900000000000000000000000000000000000000
+ 0000696969001D1D1D00696969000000000080808000FEFEFE00FEFEFE00FEFE
+ FE0000000000000000000000000000000000000000001D1D1D00696969004B4B
+ 4B004B4B4B000F0F0F004B4B4B004B4B4B001D1D1D004B4B4B004B4B4B000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FEFEFE00696969008080
+ 8000808080008080800080808000808080008080800080808000808080008080
+ 8000808080008080800069696900000000000000000000000000000000000000
+ 00001D1D1D00696969001D1D1D00696969000000000000000000000000000000
+ 00000000000000000000000000000000000000000000000000001D1D1D00FEFE
+ FE00696969001D1D1D001D1D1D001D1D1D001D1D1D004B4B4B004B4B4B008080
+ 8000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FEFEFE00FEFEFE00FEFE
+ FE00FEFEFE00FEFEFE00FEFEFE00FEFEFE00FEFEFE00FEFEFE00FEFEFE00FEFE
+ FE00FEFEFE00FEFEFE0069696900000000000000000000000000000000000000
+ 0000000000001D1D1D00696969001D1D1D000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000FEFEFE006969
+ 6900FEFEFE004B4B4B004B4B4B004B4B4B004B4B4B004B4B4B00000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000080808000FEFEFE00FEFEFE00FEFE
+ FE00FEFEFE00FEFEFE00FEFEFE00FEFEFE00FEFEFE00FEFEFE00FEFEFE00FEFE
+ FE00FEFEFE00FEFEFE00FEFEFE00808080000000000000000000000000000000
+ 000000000000696969001D1D1D00696969000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00005A5A5A00696969004B4B4B004B4B4B004B4B4B0000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000008080800080808000808080008080
+ 8000808080008080800080808000808080008080800080808000808080008080
+ 8000808080008080800080808000808080000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000F0F0F000F0F0F000F0F0F000F0F0F000F0F
+ 0F000F0F0F000F0F0F000F0F0F000F0F0F000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000717171006969690000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000000000000000000000000000000000006969690000000000FEFE
+ FE00000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000F0F0F00FEFEFE00FEFEFE00FEFEFE00FEFE
+ FE00FEFEFE00FEFEFE00FEFEFE000F0F0F000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000007171
+ 71006969690000000000E1E1E100000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000005A5A
+ 5A005A5A5A005A5A5A005A5A5A00000000000000000000000000000000000000
+ 0000000000000000000000000000000000006969690000000000FEFEFE00FEFE
+ FE00FEFEFE0000000000000000000000000000000000BFBFBF0000000000BFBF
+ BF0000000000BFBFBF00000000000F0F0F00FEFEFE0000000000000000000000
+ 00000000000000000000FEFEFE000F0F0F000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000E1E1E1006969
+ 690000000000E1E1E100E1E1E100000000000000000080808000808080008080
+ 80008080800080808000808080008080800080808000000000005A5A5A00B2B2
+ B200B2B2B200FEFEFE0000000000000000000000000000000000000000000000
+ 00000000000000000000000000006969690000000000FEFEFE001D1D1D00FEFE
+ FE00FEFEFE00FEFEFE000000000000000000BFBFBF00FEFEFE00FEFEFE00FEFE
+ FE00FEFEFE00FEFEFE00FEFEFE000F0F0F00FEFEFE00FEFEFE00FEFEFE00FEFE
+ FE00FEFEFE00FEFEFE00FEFEFE000F0F0F000000000000000000000000000000
+ 0000000000000000000000000000717171007171710071717100696969000000
+ 0000E1E1E100E1E1E10000000000000000000000000000000000B2B2B2005A5A
+ 5A005A5A5A005A5A5A005A5A5A005A5A5A00000000005A5A5A00B2B2B200B2B2
+ B200FEFEFE000000000000000000000000000000000000000000000000000000
+ 000000000000000000006969690000000000FEFEFE001D1D1D00FEFEFE001D1D
+ 1D004C4C4C0026262600FEFEFE000000000000000000FEFEFE00BFBFBF00FEFE
+ FE00BFBFBF00FEFEFE00BFBFBF000F0F0F00FEFEFE0000000000000000000000
+ 00000000000000000000FEFEFE000F0F0F000000000000000000717171007171
+ 710071717100E1E1E1000000000071717100E1E1E1006969690000000000E1E1
+ E100E1E1E100000000000000000000000000000000000000000000000000B2B2
+ B2005A5A5A005A5A5A005A5A5A00000000005A5A5A00B2B2B200B2B2B200FEFE
+ FE00000000005A5A5A0000000000000000000000000000000000000000000000
+ 0000000000006969690000000000FEFEFE001D1D1D00FEFEFE001D1D1D00FEFE
+ FE0026262600262626000000000069696900BFBFBF00FEFEFE00FEFEFE00BFBF
+ BF00FEFEFE00BFBFBF00FEFEFE000F0F0F00FEFEFE00FEFEFE00FEFEFE00FEFE
+ FE00FEFEFE00FEFEFE00FEFEFE000F0F0F00000000007171710071717100E1E1
+ E100E1E1E100E1E1E100E1E1E100E1E1E1006969690000000000E1E1E100E1E1
+ E100000000000000000000000000000000000000000000000000000000000000
+ 0000B2B2B2005A5A5A00000000005A5A5A00B2B2B200B2B2B200FEFEFE000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00006969690000000000FEFEFE00FEFEFE00FEFEFE001D1D1D00FEFEFE00FEFE
+ FE00FEFEFE0000000000000000000000000000000000FEFEFE00BFBFBF00FEFE
+ FE00BFBFBF00FEFEFE00BFBFBF000F0F0F00FEFEFE000000000000000000FEFE
+ FE000F0F0F000F0F0F000F0F0F000F0F0F000000000071717100E1E1E100E1E1
+ E10071717100E1E1E100E1E1E1006969690000000000E1E1E100E1E1E1000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000000000005A5A5A00B2B2B200B2B2B200FEFEFE00000000000000
+ 0000000000000000000000000000000000000000000069696900000000008080
+ 8000000000006969690000000000696969006969690069696900696969006969
+ 690000000000000000007171710000000000BFBFBF00FEFEFE00FEFEFE00BFBF
+ BF00FEFEFE00BFBFBF00FEFEFE000F0F0F00FEFEFE00FEFEFE00FEFEFE00FEFE
+ FE000F0F0F00FEFEFE000F0F0F00000000000000000071717100E1E1E100E1E1
+ E100E1E1E10071717100E1E1E100E1E1E10071717100E1E1E100000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000005A5A5A00B2B2B200B2B2B200FEFEFE0000000000000000000000
+ 00000000000000000000000000000000000000000000E1E1E100717171000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000071717100717171000000000000000000FEFEFE00BFBFBF00FEFE
+ FE00BFBFBF00FEFEFE00BFBFBF000F0F0F00FEFEFE00FEFEFE00FEFEFE00FEFE
+ FE000F0F0F000F0F0F0000000000000000008080800080808000808080000000
+ 0000E1E1E100E1E1E10071717100E1E1E100E1E1E10071717100000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00005A5A5A00B2B2B200B2B2B200FEFEFE00000000005A5A5A00808080000000
+ 000000000000000000000000000000000000000000006969690000000000FEFE
+ FE00E1E1E100FEFEFE00E1E1E100FEFEFE00E1E1E100FEFEFE00E1E1E100FEFE
+ FE00E1E1E100000000007171710000000000BFBFBF00BFBFBF00FEFEFE00BFBF
+ BF00FEFEFE00BFBFBF00FEFEFE000F0F0F000F0F0F000F0F0F000F0F0F000F0F
+ 0F000F0F0F0000000000000000000000000000000000E1E1E100000000006969
+ 690000000000E1E1E100E1E1E10071717100E1E1E100E1E1E100000000000000
+ 0000000000000000000000000000000000000000000000000000000000005A5A
+ 5A00B2B2B200B2B2B200FEFEFE0000000000B2B2B2005A5A5A005A5A5A008080
+ 8000000000000000000000000000000000000000000000000000FEFEFE00E1E1
+ E100FEFEFE00E1E1E100FEFEFE00E1E1E100FEFEFE00E1E1E100FEFEFE00E1E1
+ E100FEFEFE00E1E1E100000000000000000000000000FEFEFE00BFBFBF00FEFE
+ FE00BFBFBF00FEFEFE0000000000BFBFBF000000000000000000000000000000
+ 0000000000000000000000000000000000000000000071717100E1E1E1000000
+ 00008080800000000000E1E1E100E1E1E100E1E1E100E1E1E100000000000000
+ 00000000000000000000000000000000000000000000000000005A5A5A00B2B2
+ B200B2B2B200FEFEFE00000000000000000000000000B2B2B2005A5A5A005A5A
+ 5A00808080000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000000000000000000000000000BFBFBF00FEFEFE00FEFEFE00FEFE
+ FE00FEFEFE00FEFEFE00BFBFBF0069696900BFBFBF0000000000000000000000
+ 000000000000000000000000000000000000000000000000000071717100E1E1
+ E1000000000080808000E1E1E100E1E1E100E1E1E10071717100000000000000
+ 00000000000000000000000000000000000000000000FEFEFE00FEFEFE00FEFE
+ FE00FEFEFE000000000000000000000000000000000000000000B2B2B200B2B2
+ B200B2B2B200B2B2B20000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 00000000000000000000000000000000000000000000BFBFBF0000000000BFBF
+ BF0000000000BFBFBF0000000000BFBFBF000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000007171
+ 7100E1E1E10080808000E1E1E100E1E1E1007171710000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000008080800000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 0000000000000000000000000000000000000000000000000000000000000000
+ 000000000000000000000000000000000000424D3E000000000000003E000000
+ 2800000040000000200000000100010000000000000100000000000000000000
+ 000000000000000000000000FFFFFF00FFFFFFFFF8030000FFFFFF0FF0010000
+ 0000E007E000000000008007E000000000000003E000000000000003C0010000
+ 000000018003000000008001800F000000008001800F00000000C001800F0000
+ 0000C000800F00000000E000800F00000000E00FC00F00000000F07FC01F0000
+ 0000F07FF03F00000000F8FFFFFF0000FFFFFFFFFFFFFFFFFFFFFFE1FFFFFFAF
+ FE00FFE0FFE0FF07FE00FF800000FE030000FE000001FC010000C0018003F800
+ 00008003C001F00000000007E00100000000000FF01F00000001001FF01F0000
+ 0003001FE00F00000007001FC0070000007F001F81030000007F801F0381FFFF
+ 00FFC03F07C1FFFFFFFFE07FFFFFFFFF00000000000000000000000000000000
+ 000000000000}
+ end
+end
diff --git a/components/nicesidebar/Demo1/common/Unit1.lfm b/components/nicesidebar/Demo1/common/Unit1.lfm
new file mode 100644
index 000000000..bc7253476
--- /dev/null
+++ b/components/nicesidebar/Demo1/common/Unit1.lfm
@@ -0,0 +1,327 @@
+object Form1: TForm1
+ Left = 262
+ Height = 484
+ Top = 98
+ Width = 623
+ BorderStyle = bsNone
+ Caption = 'NiceSideBar Demo - priyatna.org'
+ ClientHeight = 484
+ ClientWidth = 623
+ Color = clWhite
+ Position = poDesktopCenter
+ LCLVersion = '2.3.0.0'
+ object Shape1: TShape
+ Left = 0
+ Height = 113
+ Top = 0
+ Width = 623
+ Align = alTop
+ Brush.Color = 11626823
+ Pen.Color = 11626823
+ end
+ object Shape2: TShape
+ Left = 0
+ Height = 8
+ Top = 113
+ Width = 623
+ Align = alTop
+ Brush.Color = clBlack
+ end
+ object Label1: TLabel
+ Left = 121
+ Height = 59
+ Top = 24
+ Width = 483
+ Alignment = taRightJustify
+ Anchors = [akTop, akRight]
+ Caption = 'NiceSideBar Demo'
+ Font.Color = 16766894
+ Font.Height = -53
+ Font.Name = 'Bookman Old Style'
+ ParentFont = False
+ end
+ object Label2: TLabel
+ Left = 373
+ Height = 36
+ Top = 72
+ Width = 228
+ Alignment = taRightJustify
+ Anchors = [akTop, akRight]
+ Caption = 'priyatna.org'
+ Font.Color = clWhite
+ Font.Height = -32
+ Font.Name = 'Courier New'
+ ParentFont = False
+ end
+ object Label3: TLabel
+ Left = 216
+ Height = 15
+ Top = 432
+ Width = 75
+ Caption = 'Hovered Item:'
+ end
+ object Label4: TLabel
+ Left = 216
+ Height = 15
+ Top = 448
+ Width = 74
+ Caption = 'Selected Item:'
+ end
+ object Label5: TLabel
+ Left = 216
+ Height = 15
+ Top = 184
+ Width = 268
+ Caption = 'Click on red button in the right top corner to close.'
+ end
+ object Label6: TLabel
+ Left = 216
+ Height = 15
+ Top = 200
+ Width = 248
+ Caption = 'Click on green button to maximize and restore.'
+ end
+ object Label7: TLabel
+ Left = 216
+ Height = 15
+ Top = 216
+ Width = 188
+ Caption = 'Click on yellow button to minimize.'
+ end
+ object NiceSideBar1: TNiceSideBar
+ Left = 0
+ Height = 356
+ Top = 121
+ Width = 193
+ ItemStyle.NormalFont.Color = clWindowText
+ ItemStyle.NormalFont.Height = -11
+ ItemStyle.NormalFont.Name = 'Arial'
+ ItemStyle.NormalFont.Style = [fsBold]
+ ItemStyle.HoverFont.Color = clRed
+ ItemStyle.HoverFont.Height = -11
+ ItemStyle.HoverFont.Name = 'Arial'
+ ItemStyle.HoverFont.Style = [fsBold]
+ ItemStyle.SelectedFont.Color = clWindowText
+ ItemStyle.SelectedFont.Height = -11
+ ItemStyle.SelectedFont.Name = 'Arial'
+ ItemStyle.SelectedFont.Style = [fsBold]
+ ItemStyle.DisabledFont.Color = clGrayText
+ ItemStyle.DisabledFont.Height = -11
+ ItemStyle.DisabledFont.Name = 'Arial'
+ ItemStyle.DisabledFont.Style = [fsBold]
+ ItemStyle.NormalColor = 14145495
+ SubItemStyle.NormalFont.Color = clWindowText
+ SubItemStyle.NormalFont.Height = -11
+ SubItemStyle.NormalFont.Name = 'Arial'
+ SubItemStyle.HoverFont.Color = clRed
+ SubItemStyle.HoverFont.Height = -11
+ SubItemStyle.HoverFont.Name = 'Arial'
+ SubItemStyle.SelectedFont.Color = clWindowText
+ SubItemStyle.SelectedFont.Height = -11
+ SubItemStyle.SelectedFont.Name = 'Arial'
+ SubItemStyle.DisabledFont.Color = clGrayText
+ SubItemStyle.DisabledFont.Height = -11
+ SubItemStyle.DisabledFont.Name = 'Arial'
+ SubItemStyle.NormalColor = 14145495
+ Items = <
+ item
+ Caption = 'First Item'
+ ImageIndex = 5
+ Items.Strings = (
+ 'Ini Sub Item'
+ 'Ini Juga Sub Item'
+ 'Kalau Ini Memang'
+ 'Sub Item Juga'
+ )
+ end
+ item
+ Caption = 'Second Item'
+ ImageIndex = 1
+ Items.Strings = (
+ 'Ini Apaan Aja'
+ 'Pokoknya Sub Item'
+ 'Terserah Mau'
+ 'Apa Saja Boleh'
+ )
+ end
+ item
+ Caption = 'Third Item'
+ ImageIndex = 2
+ Items.Strings = (
+ 'Yang Penting'
+ 'Ini Sub Item'
+ 'Anda Jangan'
+ 'Protes Segala'
+ )
+ end
+ item
+ Caption = 'Fourth Item'
+ ImageIndex = 3
+ Items.Strings = (
+ 'Ini Mah Dua Aja'
+ 'Itemnya Jangan'
+ 'Banyak-banyak, yah!'
+ )
+ end>
+ ItemIndex = 1
+ SubItemIndex = 2
+ ItemHeight = 32
+ AlwaysExpand = False
+ Images = ImageList2
+ HoverImages = ImageList1
+ SelectedImages = ImageList1
+ OnHover = NiceSideBar1Hover
+ OnSelect = NiceSideBar1Select
+ BorderStyle = bsNone
+ ParentBackground = False
+ ParentColor = False
+ Color = 14145495
+ TabStop = True
+ TabOrder = 0
+ end
+ object Panel1: TPanel
+ Cursor = crHandPoint
+ Left = 537
+ Height = 17
+ Top = 16
+ Width = 17
+ Anchors = [akTop, akRight]
+ BevelOuter = bvNone
+ Color = 8454143
+ ParentBackground = False
+ ParentColor = False
+ TabOrder = 1
+ OnClick = Panel1Click
+ end
+ object Panel2: TPanel
+ Cursor = crHandPoint
+ Left = 561
+ Height = 17
+ Top = 16
+ Width = 17
+ Anchors = [akTop, akRight]
+ BevelOuter = bvNone
+ Color = 8454016
+ ParentBackground = False
+ ParentColor = False
+ TabOrder = 2
+ OnClick = Panel2Click
+ end
+ object Panel3: TPanel
+ Cursor = crHandPoint
+ Left = 585
+ Height = 17
+ Top = 16
+ Width = 17
+ Anchors = [akTop, akRight]
+ BevelOuter = bvNone
+ Color = clRed
+ ParentBackground = False
+ ParentColor = False
+ TabOrder = 3
+ OnClick = Panel3Click
+ end
+ object Panel4: TPanel
+ Left = 0
+ Height = 7
+ Top = 477
+ Width = 623
+ Align = alBottom
+ BevelOuter = bvNone
+ Caption = ' '
+ Color = clBlack
+ ParentBackground = False
+ ParentColor = False
+ TabOrder = 4
+ end
+ object Button1: TButton
+ Left = 216
+ Height = 25
+ Top = 264
+ Width = 209
+ Caption = 'Toggle Item "Enable" Property'
+ OnClick = Button1Click
+ TabOrder = 5
+ end
+ object Button2: TButton
+ Left = 216
+ Height = 25
+ Top = 296
+ Width = 209
+ Caption = 'Toggle Sub Item "Enable" Property'
+ OnClick = Button2Click
+ TabOrder = 6
+ end
+ object Button3: TButton
+ Left = 216
+ Height = 25
+ Top = 328
+ Width = 209
+ Caption = 'Toggle Item "Visible" Property'
+ OnClick = Button3Click
+ TabOrder = 7
+ end
+ object Button4: TButton
+ Left = 216
+ Height = 25
+ Top = 360
+ Width = 209
+ Caption = 'Toggle Sub Item "Visible" Property'
+ OnClick = Button4Click
+ TabOrder = 8
+ end
+ object ImageList1: TImageList
+ Left = 240
+ Top = 136
+ Bitmap = {
+ 4C7A0700000010000000100000005A0200000000000078DAED990D72ED200885
+ 5DBA4BBB3BA3D7EB4F80801CE2B4D3CED4199EED4BBE031A44939672DCE8F57A
+ D1A6DFB6768FD5260B68ACFB79CFE388FC6B76F6F5CD5A86F86F7D1DD778D31A
+ 7CFC967F8B9F3DEA7FCC8139A6AC7F1D4BC63FB7C97BCF3FE3DFCB3FC4FF2E37
+ 40FF5B3EB2F2BB5A9FB75AF57C616CE3DABC8CFE639716C42EFF938F35EE6CFB
+ 3FCE5F3960F3F2BAF41BF0CDDF349745E3F7D8287EEBFECEC8F1D81A9DD1313C
+ D5E0F15E3F631ADAB826A6E16BE271F83A3A8EFCFA951A4FF8FCBAFC919A01C4
+ E5DD77ABABC5DC63A5A97BDEEB8F5F27A5DFAF7773D7A2A901B25B0D908DC642
+ B91AEECE477096EA6C1087FB8CAEB9F235E6B51D1B69C8F9AA5B8BF203352BB6
+ 6F5A2BFFED6C4ED3462B33B0DEAB6330CBCF58F28C10DBB5270AFFAAC610B097
+ 613559FD1EE4AFD450FDFBC4346C5F473D8DF663E3819A666BF87B4CAC91634D
+ 8D876B3E7AA68F5B543B117BDA4E789EF3F3F74CCC9AEF7D810CE1AF3C2D2BE7
+ 51BEB324988C7FCE73CBC56FB328FF64FE4E9EDF49FE9CEC3D3553B7FFCEFE7F
+ 121F8D7F9ED62C22A941076CF69DE9C6EAFCDAE80996D8B942F0FC2CA0CFC08A
+ E5BE799E91FCD6118E7BD548E5BBDEDF45E5BA18F787BEF5B717366EC4B73E8F
+ 27C6ADF70068CE8D35BF3D17D29EDDEEA5F777885CBD71EADEB7B4A0D682EC78
+ 8EAD9F167D27657BF8A7E76CA0B1CE10577EF00DB0AF8BA1618D65B23CE6CA18
+ CE5B312CDE88B9CE77C612F39EC68CC1AB859CF7746ADDF335E0697EAFF67341
+ F23AE7B17D8FDF57443EF067CBBFE3EDCFC9C8BE6BFE2DC77897BAEDF7DE77AA
+ 43FFE570FCBBEF84E6FC7F01D4EF61DA
+ }
+ end
+ object ImageList2: TImageList
+ Left = 320
+ Top = 136
+ Bitmap = {
+ 4C7A0700000010000000100000008C0200000000000078DAED58DB91C2300C4C
+ 0754C02FCD400574C0271D50130D500B8D901B656E998DA2677277C3C7656647
+ 907857B223CB768661F3353E1E8F31B0E1256D5EAFD70272FF72B95434DEEDD9
+ 721C997FCD85DDED76262AFEC54A5BDD2FADC1FDB7FC5B7CD8AAFFEF3130FBD4
+ F5AF63E9F86780EFBDFF8E7F2FFF2AFEA3DC28FA0FF91986CFBAA6B1B9DD6E7A
+ BC4ADCEBF53A3E9FCF892F5620F70A1A6F2EFC835FD05870C5321FCF3C3E9E4B
+ BD612E7423BEF8033C6E357E8F9BC56FB517E8FE381A1347C7B05683E3C5EFAA
+ 86066B16355CCD461CAE8E8EA3C19F8D1334D6F057CCCB3FA91985B8BC768BBA
+ 6A688CF7FB7D06D5663C9FCFEF674A63BA27CF0554DB16F1591A456EA851E466
+ 7D69E56A301E2117FD4DE270DF11C62AD2C0B3889B6930976BB0852C3FAAB062
+ FBA5B9F27F6D1BD3362427A4A6572D7351CF3B5CDA13E83D420AAC89DA3F721D
+ FFC56AB086A5CD7D01F6FBBD559FDD3ACA1AE0C21E0E8709D46EE8689C4EA789
+ 5FA869A646B0C6A41A4DAEA9B172CE8FCAFED895D5CE0AA23352842D7CCE79FC
+ EFC4ACF962F51EC343858F3C95DFC8F92A5FB8CCEFFA673EA313BFC7ADF2D78C
+ DF96F7B7257FAC3A59817356EEE2D3D7D43657C646EA2DAD372D3EB862BBB596
+ B9EA9C55FA0EA1B93ABF02BD1917B1EBBCC3D9D3DAC76A2EFBE63CCBB8BADFD0
+ 897C5B7B09B4B77C7FDF1B8C7BB37E7BBE2DBE35E689EF81DB6BDFDE982BFE90
+ ED0BF9DD1BDC702DD57A11BFA2F9E99B713917C97B3C1E8F6F54E6306AB258E6
+ 5635B0BFC31C6040C31B3FCC19B493EFB2F8CD7C2F066EC3101D190FE8457C4F
+ 033144B5D0EB2F2031447C892FE2CB3D6913E4DF8CAF731EDFE9B37303DA210F
+ 60310FF97E76F6C8E0682C6A99B7DE7BDFA936FA1F36F6DFAC67D13AF805E341
+ 0DB9
+ }
+ end
+end
diff --git a/components/nicesidebar/Demo1/common/Unit1.pas b/components/nicesidebar/Demo1/common/Unit1.pas
new file mode 100644
index 000000000..8d826e357
--- /dev/null
+++ b/components/nicesidebar/Demo1/common/Unit1.pas
@@ -0,0 +1,154 @@
+unit Unit1;
+
+{$IFDEF FPC}
+ {$MODE Delphi}
+{$ENDIF}
+
+interface
+
+uses
+ {$IFDEF FPC}
+ LCLIntf, LCLType, LMessages,
+ {$ELSE}
+ Windows, Messages,
+ {$ENDIF}
+ SysUtils, Variants, Classes, Graphics, Controls, Forms,
+ Dialogs, StdCtrls, ExtCtrls, NiceSideBar, ImgList;
+
+type
+ TForm1 = class(TForm)
+ Shape1: TShape;
+ Shape2: TShape;
+ Label1: TLabel;
+ Label2: TLabel;
+ Label3: TLabel;
+ Label4: TLabel;
+ NiceSideBar1: TNiceSideBar;
+ ImageList1: TImageList;
+ ImageList2: TImageList;
+ Label5: TLabel;
+ Panel1: TPanel;
+ Panel2: TPanel;
+ Panel3: TPanel;
+ Panel4: TPanel;
+ Label6: TLabel;
+ Label7: TLabel;
+ Button1: TButton;
+ Button2: TButton;
+ Button3: TButton;
+ Button4: TButton;
+ procedure Image1Click(Sender: TObject);
+ procedure ImageButton1Click(Sender: TObject);
+ procedure NiceSideBar1Hover(Sender: TObject; Index, SubIndex: Integer;
+ Caption: String);
+ procedure NiceSideBar1Select(Sender: TObject; Index, SubIndex: Integer;
+ Caption: String);
+ procedure Panel1Click(Sender: TObject);
+ procedure Panel2Click(Sender: TObject);
+ procedure Panel3Click(Sender: TObject);
+ procedure Button1Click(Sender: TObject);
+ procedure Button2Click(Sender: TObject);
+ procedure Button3Click(Sender: TObject);
+ procedure Button4Click(Sender: TObject);
+ private
+ { Private declarations }
+ {$IFDEF FPC}
+ procedure WMNCHittest(var Msg: TLMessage); message LM_NCHITTEST;
+ {$ELSE}
+ procedure WMNCHittest(var Msg: TMessage); message WM_NCHITTEST;
+ {$ENDIF}
+ protected
+ procedure CreateParams(var Params: TCreateParams); override;
+ public
+
+ end;
+
+var
+ Form1: TForm1;
+
+implementation
+
+{$IFDEF FPC}
+ {$R *.lfm}
+{$ELSE}
+ {$R *.dfm}
+{$ENDIF}
+
+procedure TForm1.CreateParams(var Params: TCreateParams);
+begin
+ inherited;
+ Params.Style := (Params.Style and WS_POPUP or WS_BORDER) and not WS_DLGFRAME;
+end;
+
+procedure TForm1.Image1Click(Sender: TObject);
+begin // not used
+ //ShowMessage('Wah, gampang sekali!!!!');
+end;
+
+procedure TForm1.ImageButton1Click(Sender: TObject);
+begin // not used
+ //ShowMessage('Ngapain, sih?');
+end;
+
+procedure TForm1.WMNCHittest(var Msg: {$IFDEF FPC}TLMessage{$ELSE}TMessage{$ENDIF});
+begin
+ Msg.Result := HTCAPTION;
+end;
+
+procedure TForm1.NiceSideBar1Hover(Sender: TObject; Index,
+ SubIndex: Integer; Caption: String);
+begin
+ Label3.Caption := 'Hovered Item: ' + Caption;
+end;
+
+procedure TForm1.NiceSideBar1Select(Sender: TObject; Index,
+ SubIndex: Integer; Caption: String);
+begin
+ Label4.Caption := 'Selected Item: ' + Caption;
+end;
+
+procedure TForm1.Panel1Click(Sender: TObject);
+begin
+// WindowState := wsMinimized;
+ SendMessage(Handle, {$IFDEF FPC}LM_SYSCOMMAND{$ELSE}WM_SYSCOMMAND{$ENDIF}, SC_MINIMIZE, 0);
+end;
+
+procedure TForm1.Panel2Click(Sender: TObject);
+begin
+ if (WindowState = wsMaximized) then
+ WindowState := wsNormal
+ else
+ WindowState := wsMaximized;
+ (*
+ if (WindowState = wsMaximized)
+ then SendMessage(Handle, {$IFDEF FPC}LM_SYSCOMMAND{$ELSE}WM_SYSCOMMAND{$ENDIF}, SC_RESTORE, 0)
+ else SendMessage(Handle, {$IFDEF FPC}LM_SYSCOMMAND{$ELSE}WM_SYSCOMMAND{$ENDIF}, SC_MAXIMIZE, 0);
+ *)
+end;
+
+procedure TForm1.Panel3Click(Sender: TObject);
+begin
+ Close;
+end;
+
+procedure TForm1.Button1Click(Sender: TObject);
+begin
+ NiceSideBar1.Items[1].Enabled := not NiceSideBar1.Items[1].Enabled;
+end;
+
+procedure TForm1.Button2Click(Sender: TObject);
+begin
+ NiceSideBar1.Items[1].ItemEnabled[2] := not NiceSideBar1.Items[1].ItemEnabled[2];
+end;
+
+procedure TForm1.Button3Click(Sender: TObject);
+begin
+ NiceSideBar1.Items[1].Visible := not NiceSideBar1.Items[1].Visible;
+end;
+
+procedure TForm1.Button4Click(Sender: TObject);
+begin
+ NiceSideBar1.Items[1].ItemVisible[2] := not NiceSideBar1.Items[1].ItemVisible[2];
+end;
+
+end.
diff --git a/components/nicesidebar/Demo3/Project_Delphi/Project1.dof b/components/nicesidebar/Demo3/Project_Delphi/Project1.dof
new file mode 100644
index 000000000..3076efb5f
--- /dev/null
+++ b/components/nicesidebar/Demo3/Project_Delphi/Project1.dof
@@ -0,0 +1,147 @@
+[FileVersion]
+Version=7.0
+[Compiler]
+A=8
+B=0
+C=1
+D=1
+E=0
+F=0
+G=1
+H=1
+I=1
+J=0
+K=0
+L=1
+M=0
+N=1
+O=1
+P=1
+Q=0
+R=0
+S=0
+T=0
+U=0
+V=1
+W=0
+X=1
+Y=1
+Z=1
+ShowHints=1
+ShowWarnings=1
+UnitAliases=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
+NamespacePrefix=
+SymbolDeprecated=1
+SymbolLibrary=1
+SymbolPlatform=1
+UnitLibrary=1
+UnitPlatform=1
+UnitDeprecated=1
+HResultCompat=1
+HidingMember=1
+HiddenVirtual=1
+Garbage=1
+BoundsError=1
+ZeroNilCompat=1
+StringConstTruncated=1
+ForLoopVarVarPar=1
+TypedConstVarPar=1
+AsgToTypedConst=1
+CaseLabelRange=1
+ForVariable=1
+ConstructingAbstract=1
+ComparisonFalse=1
+ComparisonTrue=1
+ComparingSignedUnsigned=1
+CombiningSignedUnsigned=1
+UnsupportedConstruct=1
+FileOpen=1
+FileOpenUnitSrc=1
+BadGlobalSymbol=1
+DuplicateConstructorDestructor=1
+InvalidDirective=1
+PackageNoLink=1
+PackageThreadVar=1
+ImplicitImport=1
+HPPEMITIgnored=1
+NoRetVal=1
+UseBeforeDef=1
+ForLoopVarUndef=1
+UnitNameMismatch=1
+NoCFGFileFound=1
+MessageDirective=1
+ImplicitVariants=1
+UnicodeToLocale=1
+LocaleToUnicode=1
+ImagebaseMultiple=1
+SuspiciousTypecast=1
+PrivatePropAccessor=1
+UnsafeType=0
+UnsafeCode=0
+UnsafeCast=0
+[Linker]
+MapFile=0
+OutputObjs=0
+ConsoleApp=1
+DebugInfo=0
+RemoteSymbols=0
+MinStackSize=16384
+MaxStackSize=1048576
+ImageBase=4194304
+ExeDescription=
+[Directories]
+OutputDir=
+UnitOutputDir=
+PackageDLLOutputDir=
+PackageDCPOutputDir=
+SearchPath=..\..\source
+Packages=vcl;rtl;vclx;indy;vclie;xmlrtl;inetdbbde;inet;inetdbxpress;dbrtl;soaprtl;dsnap;VclSmp;dbexpress;vcldb;dbxcds;inetdb;bdertl;vcldbx;adortl;teeui;teedb;tee;ibxpress;visualclx;visualdbclx;vclactnband;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL;dclOfficeXP;vclshlctrls
+Conditionals=
+DebugSourceDirs=
+UsePackages=0
+[Parameters]
+RunParams=
+HostApplication=
+Launcher=
+UseLauncher=0
+DebugCWD=
+[Language]
+ActiveLang=
+ProjectLang=
+RootDir=D:\Programme\Borland\Delphi7\Bin\
+[Version Info]
+IncludeVerInfo=0
+AutoIncBuild=0
+MajorVer=1
+MinorVer=0
+Release=0
+Build=0
+Debug=0
+PreRelease=0
+Special=0
+Private=0
+DLL=0
+Locale=1031
+CodePage=1252
+[Version Info Keys]
+CompanyName=
+FileDescription=
+FileVersion=1.0.0.0
+InternalName=
+LegalCopyright=
+LegalTrademarks=
+OriginalFilename=
+ProductName=
+ProductVersion=1.0.0.0
+Comments=
+[HistoryLists\hlUnitAliases]
+Count=1
+Item0=WinTypes=Windows;WinProcs=Windows;DbiTypes=BDE;DbiProcs=BDE;DbiErrs=BDE;
+[HistoryLists\hlSearchPath]
+Count=1
+Item0=..\..\source
+[HistoryLists\hlUnitOutputDirectory]
+Count=3
+Item0=..\source
+Item1=..\..\..\source\
+Item2=..\..\source\
diff --git a/components/nicesidebar/Demo3/Project_Delphi/Project1.dpr b/components/nicesidebar/Demo3/Project_Delphi/Project1.dpr
new file mode 100644
index 000000000..74baed530
--- /dev/null
+++ b/components/nicesidebar/Demo3/Project_Delphi/Project1.dpr
@@ -0,0 +1,13 @@
+program Project1;
+
+uses
+ Forms,
+ Unit1 in '..\common\Unit1.pas' {Form1};
+
+{$R *.res}
+
+begin
+ Application.Initialize;
+ Application.CreateForm(TForm1, Form1);
+ Application.Run;
+end.
diff --git a/components/nicesidebar/Demo3/Project_Delphi/Project1.dproj b/components/nicesidebar/Demo3/Project_Delphi/Project1.dproj
new file mode 100644
index 000000000..fcb0a1703
--- /dev/null
+++ b/components/nicesidebar/Demo3/Project_Delphi/Project1.dproj
@@ -0,0 +1,139 @@
+
+
+ {7C6E3E82-EC0A-4CC8-B8B5-17A84A245976}
+ Project1.dpr
+ True
+ Debug
+ 1
+ Application
+ VCL
+ 19.5
+ Win32
+
+
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Cfg_1
+ true
+ true
+
+
+ true
+ Base
+ true
+
+
+ true
+ Cfg_2
+ true
+ true
+
+
+ false
+ false
+ false
+ true
+ false
+ 00400000
+ 1
+ 1
+ ..\..\source;$(DCC_UnitSearchPath)
+ vcl;rtl;vclx;indy;vclie;xmlrtl;inetdbbde;inet;inetdbxpress;dbrtl;soaprtl;dsnap;VclSmp;dbexpress;vcldb;dbxcds;inetdb;bdertl;vcldbx;adortl;teeui;teedb;tee;ibxpress;visualclx;visualdbclx;vclactnband;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL;dclOfficeXP;vclshlctrls;$(DCC_UsePackage)
+ Project1
+ Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell;System;Xml;Data;Datasnap;Web;Soap;$(DCC_Namespace)
+ 1031
+ CompanyName=;FileDescription=;FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=;ProductVersion=1.0.0.0;Comments=
+
+
+ Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;$(DCC_Namespace)
+ Debug
+ true
+ CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=1.0.0.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProductName=$(MSBuildProjectName);ProductVersion=1.0.0.0;Comments=;ProgramID=com.embarcadero.$(MSBuildProjectName)
+ 1033
+ $(BDS)\bin\default_app.manifest
+ Project1_Icon.ico
+ $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png
+ $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png
+
+
+ Project1_Icon.ico
+ $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_44.png
+ $(BDS)\bin\Artwork\Windows\UWP\delphi_UwpDefault_150.png
+
+
+ RELEASE;$(DCC_Define)
+ 0
+ false
+ 0
+
+
+ PerMonitorV2
+
+
+ DEBUG;$(DCC_Define)
+ false
+ true
+ true
+ true
+
+
+ PerMonitorV2
+
+
+
+ MainSource
+
+
+
+
+
+ Base
+
+
+ Cfg_1
+ Base
+
+
+ Cfg_2
+ Base
+
+
+
+ Delphi.Personality.12
+
+
+
+
+ Project1.dpr
+
+
+ ..\..\..\..\Prog_Lazarus\svn\lazarus-ccr\components\nicesidebar\Demo3\Project_Delphi\
+
+
+
+ True
+ False
+
+
+ 12
+
+
+
+
diff --git a/components/nicesidebar/Demo3/Project_Delphi/Project1_Icon.ico b/components/nicesidebar/Demo3/Project_Delphi/Project1_Icon.ico
new file mode 100644
index 000000000..cfd8992a5
Binary files /dev/null and b/components/nicesidebar/Demo3/Project_Delphi/Project1_Icon.ico differ
diff --git a/components/nicesidebar/Demo3/Project_Lazarus/Project1.lpi b/components/nicesidebar/Demo3/Project_Lazarus/Project1.lpi
new file mode 100644
index 000000000..fd91ad47e
--- /dev/null
+++ b/components/nicesidebar/Demo3/Project_Lazarus/Project1.lpi
@@ -0,0 +1,87 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/components/nicesidebar/Demo3/Project_Lazarus/Project1.lpr b/components/nicesidebar/Demo3/Project_Lazarus/Project1.lpr
new file mode 100644
index 000000000..94d37a6af
--- /dev/null
+++ b/components/nicesidebar/Demo3/Project_Lazarus/Project1.lpr
@@ -0,0 +1,15 @@
+program Project1;
+
+uses
+ Interfaces,
+ Forms,
+ Unit1;
+
+{$R *.res}
+
+begin
+ Application.Scaled:=True;
+ Application.Initialize;
+ Application.CreateForm(TForm1, Form1);
+ Application.Run;
+end.
diff --git a/components/nicesidebar/Demo3/common/Unit1.dfm b/components/nicesidebar/Demo3/common/Unit1.dfm
new file mode 100644
index 000000000..f34d34024
--- /dev/null
+++ b/components/nicesidebar/Demo3/common/Unit1.dfm
@@ -0,0 +1,34 @@
+object Form1: TForm1
+ Left = 369
+ Top = 174
+ Caption = 'NiceSideBar Demo - priyatna.org'
+ ClientHeight = 442
+ ClientWidth = 586
+ Color = clBtnFace
+ Font.Charset = DEFAULT_CHARSET
+ Font.Color = clWindowText
+ Font.Height = -12
+ Font.Name = 'Segoe UI'
+ Font.Style = []
+ Position = poDesktopCenter
+ OnCreate = FormCreate
+ TextHeight = 15
+ object Button1: TButton
+ Left = 312
+ Top = 120
+ Width = 129
+ Height = 25
+ Caption = 'Set ItemIndex'
+ TabOrder = 0
+ OnClick = Button1Click
+ end
+ object Button2: TButton
+ Left = 312
+ Top = 160
+ Width = 129
+ Height = 25
+ Caption = 'Set SubItemIndex'
+ TabOrder = 1
+ OnClick = Button2Click
+ end
+end
diff --git a/components/nicesidebar/Demo3/common/Unit1.lfm b/components/nicesidebar/Demo3/common/Unit1.lfm
new file mode 100644
index 000000000..b319290f0
--- /dev/null
+++ b/components/nicesidebar/Demo3/common/Unit1.lfm
@@ -0,0 +1,30 @@
+object Form1: TForm1
+ Left = 369
+ Height = 480
+ Top = 174
+ Width = 598
+ Caption = 'NiceSideBar Demo - priyatna.org'
+ ClientHeight = 480
+ ClientWidth = 598
+ Color = clBtnFace
+ OnCreate = FormCreate
+ LCLVersion = '2.3.0.0'
+ object Button1: TButton
+ Left = 312
+ Height = 25
+ Top = 120
+ Width = 129
+ Caption = 'Set ItemIndex'
+ OnClick = Button1Click
+ TabOrder = 0
+ end
+ object Button2: TButton
+ Left = 312
+ Height = 25
+ Top = 160
+ Width = 129
+ Caption = 'Set SubItemIndex'
+ OnClick = Button2Click
+ TabOrder = 1
+ end
+end
diff --git a/components/nicesidebar/Demo3/common/Unit1.pas b/components/nicesidebar/Demo3/common/Unit1.pas
new file mode 100644
index 000000000..6401e9411
--- /dev/null
+++ b/components/nicesidebar/Demo3/common/Unit1.pas
@@ -0,0 +1,90 @@
+unit Unit1;
+
+{$IFDEF FPC}
+ {$MODE Delphi}
+{$ENDIF}
+
+interface
+
+uses
+ SysUtils, Variants, Classes, Graphics, Controls, Forms,
+ Dialogs, NiceSidebar, ExtCtrls, StdCtrls;
+
+type
+
+ { TForm1 }
+
+ TForm1 = class(TForm)
+ Button1: TButton;
+ Button2: TButton;
+ procedure FormCreate(Sender: TObject);
+ procedure Button1Click(Sender: TObject);
+ procedure Button2Click(Sender: TObject);
+ private
+ { Private declarations }
+ public
+ { Public declarations }
+ SideBar: TNiceSideBar;
+ end;
+
+var
+ Form1: TForm1;
+
+implementation
+
+{$IFDEF FPC}
+ {$R *.lfm}
+{$ELSE}
+ {$R *.dfm}
+{$ENDIF}
+
+procedure TForm1.FormCreate(Sender: TObject);
+var
+ Item: TSideBarItem;
+begin
+ SideBar := TNiceSideBar.Create(Self);
+ with SideBar do
+ begin
+ BeginUpdate;
+ Parent := Self;
+
+ //GroupSeparator := 0;
+
+ Item := Items.Add;
+ Item.Caption := 'Test Item 1';
+ Item.Items.CommaText := '"Sub Item 1","Sub Item 2","Sub Item 3","Sub Item 4"';
+
+ Item := Items.Add;
+ Item.Caption := 'Test Item 2';
+ Item.Items.CommaText := '"Sub Item 1","Sub Item 2","Sub Item 3","Sub Item 4"';
+
+ ItemIndex := Item.Index;
+ SubItemIndex := 2;
+
+ Item := Items.Add;
+ Item.Caption := 'Test Item 3';
+ Item.Items.CommaText := '"Sub Item 1","Sub Item 2","Sub Item 3","Sub Item 4"';
+
+ Item := Items.Add;
+ Item.Caption := 'Test Item 4';
+ Item.Items.CommaText := '"Sub Item 1","Sub Item 2","Sub Item 3","Sub Item 4"';
+
+ Item := Items.Add;
+ Item.Caption := 'Test Item 5';
+ Item.Items.CommaText := '"Sub Item 1","Sub Item 2","Sub Item 3","Sub Item 4"';
+
+ EndUpdate;
+ end;
+end;
+
+procedure TForm1.Button1Click(Sender: TObject);
+begin
+ SideBar.ItemIndex := 0;
+end;
+
+procedure TForm1.Button2Click(Sender: TObject);
+begin
+ SideBar.SubItemIndex := 2;
+end;
+
+end.
diff --git a/components/nicesidebar/License.txt b/components/nicesidebar/License.txt
new file mode 100644
index 000000000..18f8109b7
--- /dev/null
+++ b/components/nicesidebar/License.txt
@@ -0,0 +1,567 @@
+ MOZILLA PUBLIC LICENSE
+ Version 1.1
+
+ ---------------
+
+1. Definitions.
+
+ 1.0.1. "Commercial Use" means distribution or otherwise making the
+ Covered Code available to a third party.
+
+ 1.1. "Contributor" means each entity that creates or contributes to
+ the creation of Modifications.
+
+ 1.2. "Contributor Version" means the combination of the Original
+ Code, prior Modifications used by a Contributor, and the Modifications
+ made by that particular Contributor.
+
+ 1.3. "Covered Code" means the Original Code or Modifications or the
+ combination of the Original Code and Modifications, in each case
+ including portions thereof.
+
+ 1.4. "Electronic Distribution Mechanism" means a mechanism generally
+ accepted in the software development community for the electronic
+ transfer of data.
+
+ 1.5. "Executable" means Covered Code in any form other than Source
+ Code.
+
+ 1.6. "Initial Developer" means the individual or entity identified
+ as the Initial Developer in the Source Code notice required by Exhibit
+ A.
+
+ 1.7. "Larger Work" means a work which combines Covered Code or
+ portions thereof with code not governed by the terms of this License.
+
+ 1.8. "License" means this document.
+
+ 1.8.1. "Licensable" means having the right to grant, to the maximum
+ extent possible, whether at the time of the initial grant or
+ subsequently acquired, any and all of the rights conveyed herein.
+
+ 1.9. "Modifications" means any addition to or deletion from the
+ substance or structure of either the Original Code or any previous
+ Modifications. When Covered Code is released as a series of files, a
+ Modification is:
+ A. Any addition to or deletion from the contents of a file
+ containing Original Code or previous Modifications.
+
+ B. Any new file that contains any part of the Original Code or
+ previous Modifications.
+
+ 1.10. "Original Code" means Source Code of computer software code
+ which is described in the Source Code notice required by Exhibit A as
+ Original Code, and which, at the time of its release under this
+ License is not already Covered Code governed by this License.
+
+ 1.10.1. "Patent Claims" means any patent claim(s), now owned or
+ hereafter acquired, including without limitation, method, process,
+ and apparatus claims, in any patent Licensable by grantor.
+
+ 1.11. "Source Code" means the preferred form of the Covered Code for
+ making modifications to it, including all modules it contains, plus
+ any associated interface definition files, scripts used to control
+ compilation and installation of an Executable, or source code
+ differential comparisons against either the Original Code or another
+ well known, available Covered Code of the Contributor's choice. The
+ Source Code can be in a compressed or archival form, provided the
+ appropriate decompression or de-archiving software is widely available
+ for no charge.
+
+ 1.12. "You" (or "Your") means an individual or a legal entity
+ exercising rights under, and complying with all of the terms of, this
+ License or a future version of this License issued under Section 6.1.
+ For legal entities, "You" includes any entity which controls, is
+ controlled by, or is under common control with You. For purposes of
+ this definition, "control" means (a) the power, direct or indirect,
+ to cause the direction or management of such entity, whether by
+ contract or otherwise, or (b) ownership of more than fifty percent
+ (50%) of the outstanding shares or beneficial ownership of such
+ entity.
+
+2. Source Code License.
+
+ 2.1. The Initial Developer Grant.
+ The Initial Developer hereby grants You a world-wide, royalty-free,
+ non-exclusive license, subject to third party intellectual property
+ claims:
+ (a) under intellectual property rights (other than patent or
+ trademark) Licensable by Initial Developer to use, reproduce,
+ modify, display, perform, sublicense and distribute the Original
+ Code (or portions thereof) with or without Modifications, and/or
+ as part of a Larger Work; and
+
+ (b) under Patents Claims infringed by the making, using or
+ selling of Original Code, to make, have made, use, practice,
+ sell, and offer for sale, and/or otherwise dispose of the
+ Original Code (or portions thereof).
+
+ (c) the licenses granted in this Section 2.1(a) and (b) are
+ effective on the date Initial Developer first distributes
+ Original Code under the terms of this License.
+
+ (d) Notwithstanding Section 2.1(b) above, no patent license is
+ granted: 1) for code that You delete from the Original Code; 2)
+ separate from the Original Code; or 3) for infringements caused
+ by: i) the modification of the Original Code or ii) the
+ combination of the Original Code with other software or devices.
+
+ 2.2. Contributor Grant.
+ Subject to third party intellectual property claims, each Contributor
+ hereby grants You a world-wide, royalty-free, non-exclusive license
+
+ (a) under intellectual property rights (other than patent or
+ trademark) Licensable by Contributor, to use, reproduce, modify,
+ display, perform, sublicense and distribute the Modifications
+ created by such Contributor (or portions thereof) either on an
+ unmodified basis, with other Modifications, as Covered Code
+ and/or as part of a Larger Work; and
+
+ (b) under Patent Claims infringed by the making, using, or
+ selling of Modifications made by that Contributor either alone
+ and/or in combination with its Contributor Version (or portions
+ of such combination), to make, use, sell, offer for sale, have
+ made, and/or otherwise dispose of: 1) Modifications made by that
+ Contributor (or portions thereof); and 2) the combination of
+ Modifications made by that Contributor with its Contributor
+ Version (or portions of such combination).
+
+ (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
+ effective on the date Contributor first makes Commercial Use of
+ the Covered Code.
+
+ (d) Notwithstanding Section 2.2(b) above, no patent license is
+ granted: 1) for any code that Contributor has deleted from the
+ Contributor Version; 2) separate from the Contributor Version;
+ 3) for infringements caused by: i) third party modifications of
+ Contributor Version or ii) the combination of Modifications made
+ by that Contributor with other software (except as part of the
+ Contributor Version) or other devices; or 4) under Patent Claims
+ infringed by Covered Code in the absence of Modifications made by
+ that Contributor.
+
+3. Distribution Obligations.
+
+ 3.1. Application of License.
+ The Modifications which You create or to which You contribute are
+ governed by the terms of this License, including without limitation
+ Section 2.2. The Source Code version of Covered Code may be
+ distributed only under the terms of this License or a future version
+ of this License released under Section 6.1, and You must include a
+ copy of this License with every copy of the Source Code You
+ distribute. You may not offer or impose any terms on any Source Code
+ version that alters or restricts the applicable version of this
+ License or the recipients' rights hereunder. However, You may include
+ an additional document offering the additional rights described in
+ Section 3.5.
+
+ 3.2. Availability of Source Code.
+ Any Modification which You create or to which You contribute must be
+ made available in Source Code form under the terms of this License
+ either on the same media as an Executable version or via an accepted
+ Electronic Distribution Mechanism to anyone to whom you made an
+ Executable version available; and if made available via Electronic
+ Distribution Mechanism, must remain available for at least twelve (12)
+ months after the date it initially became available, or at least six
+ (6) months after a subsequent version of that particular Modification
+ has been made available to such recipients. You are responsible for
+ ensuring that the Source Code version remains available even if the
+ Electronic Distribution Mechanism is maintained by a third party.
+
+ 3.3. Description of Modifications.
+ You must cause all Covered Code to which You contribute to contain a
+ file documenting the changes You made to create that Covered Code and
+ the date of any change. You must include a prominent statement that
+ the Modification is derived, directly or indirectly, from Original
+ Code provided by the Initial Developer and including the name of the
+ Initial Developer in (a) the Source Code, and (b) in any notice in an
+ Executable version or related documentation in which You describe the
+ origin or ownership of the Covered Code.
+
+ 3.4. Intellectual Property Matters
+ (a) Third Party Claims.
+ If Contributor has knowledge that a license under a third party's
+ intellectual property rights is required to exercise the rights
+ granted by such Contributor under Sections 2.1 or 2.2,
+ Contributor must include a text file with the Source Code
+ distribution titled "LEGAL" which describes the claim and the
+ party making the claim in sufficient detail that a recipient will
+ know whom to contact. If Contributor obtains such knowledge after
+ the Modification is made available as described in Section 3.2,
+ Contributor shall promptly modify the LEGAL file in all copies
+ Contributor makes available thereafter and shall take other steps
+ (such as notifying appropriate mailing lists or newsgroups)
+ reasonably calculated to inform those who received the Covered
+ Code that new knowledge has been obtained.
+
+ (b) Contributor APIs.
+ If Contributor's Modifications include an application programming
+ interface and Contributor has knowledge of patent licenses which
+ are reasonably necessary to implement that API, Contributor must
+ also include this information in the LEGAL file.
+
+ (c) Representations.
+ Contributor represents that, except as disclosed pursuant to
+ Section 3.4(a) above, Contributor believes that Contributor's
+ Modifications are Contributor's original creation(s) and/or
+ Contributor has sufficient rights to grant the rights conveyed by
+ this License.
+
+ 3.5. Required Notices.
+ You must duplicate the notice in Exhibit A in each file of the Source
+ Code. If it is not possible to put such notice in a particular Source
+ Code file due to its structure, then You must include such notice in a
+ location (such as a relevant directory) where a user would be likely
+ to look for such a notice. If You created one or more Modification(s)
+ You may add your name as a Contributor to the notice described in
+ Exhibit A. You must also duplicate this License in any documentation
+ for the Source Code where You describe recipients' rights or ownership
+ rights relating to Covered Code. You may choose to offer, and to
+ charge a fee for, warranty, support, indemnity or liability
+ obligations to one or more recipients of Covered Code. However, You
+ may do so only on Your own behalf, and not on behalf of the Initial
+ Developer or any Contributor. You must make it absolutely clear than
+ any such warranty, support, indemnity or liability obligation is
+ offered by You alone, and You hereby agree to indemnify the Initial
+ Developer and every Contributor for any liability incurred by the
+ Initial Developer or such Contributor as a result of warranty,
+ support, indemnity or liability terms You offer.
+
+ 3.6. Distribution of Executable Versions.
+ You may distribute Covered Code in Executable form only if the
+ requirements of Section 3.1-3.5 have been met for that Covered Code,
+ and if You include a notice stating that the Source Code version of
+ the Covered Code is available under the terms of this License,
+ including a description of how and where You have fulfilled the
+ obligations of Section 3.2. The notice must be conspicuously included
+ in any notice in an Executable version, related documentation or
+ collateral in which You describe recipients' rights relating to the
+ Covered Code. You may distribute the Executable version of Covered
+ Code or ownership rights under a license of Your choice, which may
+ contain terms different from this License, provided that You are in
+ compliance with the terms of this License and that the license for the
+ Executable version does not attempt to limit or alter the recipient's
+ rights in the Source Code version from the rights set forth in this
+ License. If You distribute the Executable version under a different
+ license You must make it absolutely clear that any terms which differ
+ from this License are offered by You alone, not by the Initial
+ Developer or any Contributor. You hereby agree to indemnify the
+ Initial Developer and every Contributor for any liability incurred by
+ the Initial Developer or such Contributor as a result of any such
+ terms You offer.
+
+ 3.7. Larger Works.
+ You may create a Larger Work by combining Covered Code with other code
+ not governed by the terms of this License and distribute the Larger
+ Work as a single product. In such a case, You must make sure the
+ requirements of this License are fulfilled for the Covered Code.
+
+4. Inability to Comply Due to Statute or Regulation.
+
+ If it is impossible for You to comply with any of the terms of this
+ License with respect to some or all of the Covered Code due to
+ statute, judicial order, or regulation then You must: (a) comply with
+ the terms of this License to the maximum extent possible; and (b)
+ describe the limitations and the code they affect. Such description
+ must be included in the LEGAL file described in Section 3.4 and must
+ be included with all distributions of the Source Code. Except to the
+ extent prohibited by statute or regulation, such description must be
+ sufficiently detailed for a recipient of ordinary skill to be able to
+ understand it.
+
+5. Application of this License.
+
+ This License applies to code to which the Initial Developer has
+ attached the notice in Exhibit A and to related Covered Code.
+
+6. Versions of the License.
+
+ 6.1. New Versions.
+ Netscape Communications Corporation ("Netscape") may publish revised
+ and/or new versions of the License from time to time. Each version
+ will be given a distinguishing version number.
+
+ 6.2. Effect of New Versions.
+ Once Covered Code has been published under a particular version of the
+ License, You may always continue to use it under the terms of that
+ version. You may also choose to use such Covered Code under the terms
+ of any subsequent version of the License published by Netscape. No one
+ other than Netscape has the right to modify the terms applicable to
+ Covered Code created under this License.
+
+ 6.3. Derivative Works.
+ If You create or use a modified version of this License (which you may
+ only do in order to apply it to code which is not already Covered Code
+ governed by this License), You must (a) rename Your license so that
+ the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
+ "MPL", "NPL" or any confusingly similar phrase do not appear in your
+ license (except to note that your license differs from this License)
+ and (b) otherwise make it clear that Your version of the license
+ contains terms which differ from the Mozilla Public License and
+ Netscape Public License. (Filling in the name of the Initial
+ Developer, Original Code or Contributor in the notice described in
+ Exhibit A shall not of themselves be deemed to be modifications of
+ this License.)
+
+7. DISCLAIMER OF WARRANTY.
+
+ COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+ WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+ DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+ THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
+ IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
+ YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
+ COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
+ OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+ ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+8. TERMINATION.
+
+ 8.1. This License and the rights granted hereunder will terminate
+ automatically if You fail to comply with terms herein and fail to cure
+ such breach within 30 days of becoming aware of the breach. All
+ sublicenses to the Covered Code which are properly granted shall
+ survive any termination of this License. Provisions which, by their
+ nature, must remain in effect beyond the termination of this License
+ shall survive.
+
+ 8.2. If You initiate litigation by asserting a patent infringement
+ claim (excluding declatory judgment actions) against Initial Developer
+ or a Contributor (the Initial Developer or Contributor against whom
+ You file such action is referred to as "Participant") alleging that:
+
+ (a) such Participant's Contributor Version directly or indirectly
+ infringes any patent, then any and all rights granted by such
+ Participant to You under Sections 2.1 and/or 2.2 of this License
+ shall, upon 60 days notice from Participant terminate prospectively,
+ unless if within 60 days after receipt of notice You either: (i)
+ agree in writing to pay Participant a mutually agreeable reasonable
+ royalty for Your past and future use of Modifications made by such
+ Participant, or (ii) withdraw Your litigation claim with respect to
+ the Contributor Version against such Participant. If within 60 days
+ of notice, a reasonable royalty and payment arrangement are not
+ mutually agreed upon in writing by the parties or the litigation claim
+ is not withdrawn, the rights granted by Participant to You under
+ Sections 2.1 and/or 2.2 automatically terminate at the expiration of
+ the 60 day notice period specified above.
+
+ (b) any software, hardware, or device, other than such Participant's
+ Contributor Version, directly or indirectly infringes any patent, then
+ any rights granted to You by such Participant under Sections 2.1(b)
+ and 2.2(b) are revoked effective as of the date You first made, used,
+ sold, distributed, or had made, Modifications made by that
+ Participant.
+
+ 8.3. If You assert a patent infringement claim against Participant
+ alleging that such Participant's Contributor Version directly or
+ indirectly infringes any patent where such claim is resolved (such as
+ by license or settlement) prior to the initiation of patent
+ infringement litigation, then the reasonable value of the licenses
+ granted by such Participant under Sections 2.1 or 2.2 shall be taken
+ into account in determining the amount or value of any payment or
+ license.
+
+ 8.4. In the event of termination under Sections 8.1 or 8.2 above,
+ all end user license agreements (excluding distributors and resellers)
+ which have been validly granted by You or any distributor hereunder
+ prior to termination shall survive termination.
+
+9. LIMITATION OF LIABILITY.
+
+ UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+ (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
+ DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
+ OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
+ ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
+ CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
+ WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+ COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+ INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+ LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+ RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+ PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+ EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
+ THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+10. U.S. GOVERNMENT END USERS.
+
+ The Covered Code is a "commercial item," as that term is defined in
+ 48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
+ software" and "commercial computer software documentation," as such
+ terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
+ C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
+ all U.S. Government End Users acquire Covered Code with only those
+ rights set forth herein.
+
+11. MISCELLANEOUS.
+
+ This License represents the complete agreement concerning subject
+ matter hereof. If any provision of this License is held to be
+ unenforceable, such provision shall be reformed only to the extent
+ necessary to make it enforceable. This License shall be governed by
+ California law provisions (except to the extent applicable law, if
+ any, provides otherwise), excluding its conflict-of-law provisions.
+ With respect to disputes in which at least one party is a citizen of,
+ or an entity chartered or registered to do business in the United
+ States of America, any litigation relating to this License shall be
+ subject to the jurisdiction of the Federal Courts of the Northern
+ District of California, with venue lying in Santa Clara County,
+ California, with the losing party responsible for costs, including
+ without limitation, court costs and reasonable attorneys' fees and
+ expenses. The application of the United Nations Convention on
+ Contracts for the International Sale of Goods is expressly excluded.
+ Any law or regulation which provides that the language of a contract
+ shall be construed against the drafter shall not apply to this
+ License.
+
+12. RESPONSIBILITY FOR CLAIMS.
+
+ As between Initial Developer and the Contributors, each party is
+ responsible for claims and damages arising, directly or indirectly,
+ out of its utilization of rights under this License and You agree to
+ work with Initial Developer and Contributors to distribute such
+ responsibility on an equitable basis. Nothing herein is intended or
+ shall be deemed to constitute any admission of liability.
+
+13. MULTIPLE-LICENSED CODE.
+
+ Initial Developer may designate portions of the Covered Code as
+ "Multiple-Licensed". "Multiple-Licensed" means that the Initial
+ Developer permits you to utilize portions of the Covered Code under
+ Your choice of the NPL or the alternative licenses, if any, specified
+ by the Initial Developer in the file described in Exhibit A.
+
+EXHIBIT A -Mozilla Public License.
+
+ ``The contents of this file are subject to the Mozilla Public License
+ Version 1.1 (the "License"); you may not use this file except in
+ compliance with the License. You may obtain a copy of the License at
+ http://www.mozilla.org/MPL/
+
+ Software distributed under the License is distributed on an "AS IS"
+ basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ License for the specific language governing rights and limitations
+ under the License.
+
+ The Original Code is ______________________________________.
+
+ The Initial Developer of the Original Code is ________________________.
+ Portions created by ______________________ are Copyright (C) ______
+ _______________________. All Rights Reserved.
+
+ Contributor(s): ______________________________________.
+
+ Alternatively, the contents of this file may be used under the terms
+ of the _____ license (the "[___] License"), in which case the
+ provisions of [______] License are applicable instead of those
+ above. If you wish to allow use of your version of this file only
+ under the terms of the [____] License and not to allow others to use
+ your version of this file under the MPL, indicate your decision by
+ deleting the provisions above and replace them with the notice and
+ other provisions required by the [___] License. If you do not delete
+ the provisions above, a recipient may use your version of this file
+ under either the MPL or the [___] License."
+
+ [NOTE: The text of this Exhibit A may differ slightly from the text of
+ the notices in the Source Code files of the Original Code. You should
+ use the text of this Exhibit A rather than the text found in the
+ Original Code Source Code for Your Modifications.]
+
+ ----------------------------------------------------------------------
+
+ AMENDMENTS
+
+ The Netscape Public License Version 1.1 ("NPL") consists of the
+ Mozilla Public License Version 1.1 with the following Amendments,
+ including Exhibit A-Netscape Public License. Files identified with
+ "Exhibit A-Netscape Public License" are governed by the Netscape
+ Public License Version 1.1.
+
+ Additional Terms applicable to the Netscape Public License.
+ I. Effect.
+ These additional terms described in this Netscape Public
+ License -- Amendments shall apply to the Mozilla Communicator
+ client code and to all Covered Code under this License.
+
+ II. "Netscape's Branded Code" means Covered Code that Netscape
+ distributes and/or permits others to distribute under one or more
+ trademark(s) which are controlled by Netscape but which are not
+ licensed for use under this License.
+
+ III. Netscape and logo.
+ This License does not grant any rights to use the trademarks
+ "Netscape", the "Netscape N and horizon" logo or the "Netscape
+ lighthouse" logo, "Netcenter", "Gecko", "Java" or "JavaScript",
+ "Smart Browsing" even if such marks are included in the Original
+ Code or Modifications.
+
+ IV. Inability to Comply Due to Contractual Obligation.
+ Prior to licensing the Original Code under this License, Netscape
+ has licensed third party code for use in Netscape's Branded Code.
+ To the extent that Netscape is limited contractually from making
+ such third party code available under this License, Netscape may
+ choose to reintegrate such code into Covered Code without being
+ required to distribute such code in Source Code form, even if
+ such code would otherwise be considered "Modifications" under
+ this License.
+
+ V. Use of Modifications and Covered Code by Initial Developer.
+ V.1. In General.
+ The obligations of Section 3 apply to Netscape, except to
+ the extent specified in this Amendment, Section V.2 and V.3.
+
+ V.2. Other Products.
+ Netscape may include Covered Code in products other than the
+ Netscape's Branded Code which are released by Netscape
+ during the two (2) years following the release date of the
+ Original Code, without such additional products becoming
+ subject to the terms of this License, and may license such
+ additional products on different terms from those contained
+ in this License.
+
+ V.3. Alternative Licensing.
+ Netscape may license the Source Code of Netscape's Branded
+ Code, including Modifications incorporated therein, without
+ such Netscape Branded Code becoming subject to the terms of
+ this License, and may license such Netscape Branded Code on
+ different terms from those contained in this License.
+
+ VI. Litigation.
+ Notwithstanding the limitations of Section 11 above, the
+ provisions regarding litigation in Section 11(a), (b) and (c) of
+ the License shall apply to all disputes relating to this License.
+
+ EXHIBIT A-Netscape Public License.
+
+ "The contents of this file are subject to the Netscape Public
+ License Version 1.1 (the "License"); you may not use this file
+ except in compliance with the License. You may obtain a copy of
+ the License at http://www.mozilla.org/NPL/
+
+ Software distributed under the License is distributed on an "AS
+ IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
+ implied. See the License for the specific language governing
+ rights and limitations under the License.
+
+ The Original Code is Mozilla Communicator client code, released
+ March 31, 1998.
+
+ The Initial Developer of the Original Code is Netscape
+ Communications Corporation. Portions created by Netscape are
+ Copyright (C) 1998-1999 Netscape Communications Corporation. All
+ Rights Reserved.
+
+ Contributor(s): ______________________________________.
+
+ Alternatively, the contents of this file may be used under the
+ terms of the _____ license (the "[___] License"), in which case
+ the provisions of [______] License are applicable instead of
+ those above. If you wish to allow use of your version of this
+ file only under the terms of the [____] License and not to allow
+ others to use your version of this file under the NPL, indicate
+ your decision by deleting the provisions above and replace them
+ with the notice and other provisions required by the [___]
+ License. If you do not delete the provisions above, a recipient
+ may use your version of this file under either the NPL or the
+ [___] License."
diff --git a/components/nicesidebar/Readme.html b/components/nicesidebar/Readme.html
new file mode 100644
index 000000000..76211bdaa
--- /dev/null
+++ b/components/nicesidebar/Readme.html
@@ -0,0 +1,211 @@
+
+
NiceSideBar is a visual component for Delphi that can be used as a menu. It
+ mimics side menu that usually used in websites. It has flat design and highly
+ customizable. It supports two menu levels (menu and sub menu). Each menu can
+ have a glyph that is supplied by an image list. It has hover state effect too.
+
+
+
+
+
+
Version History
+
+ Version 1.2 (January 12, 2008)
+ - Added properties to items and subitems: Enabled, Visible, ItemEnabled, ItemVisible
+ - Added properties: disabled colors, disabled images
+ - Keyboard control: PgUp, PgDown, Up and Down arrows
+ - Reported bugs fixed
+
+ Version 1.1 (June 28, 2007)
+ Reported bugs fixed
+
+ Version 1.0 (May 26th, 2007)
+ Initial Release
+
+
+
+
+
+
License
+
This library is released under Mozilla Public License. You can use it in your
+ freeware, shareware or commercial softwares. You can send your modification
+ to me, and if I decide to include it in the main distribution, I will add your
+ name as a contributor. You can read full licensing information here.
+
+
+
+
+
Installation
+
There is no special process to install it on Delphi. Just open NiceSideBarD7.dpk
+ on Delphi IDE and press Install button. I use Delphi 7. If you use another Delphi
+ version, you may have to make some minor changes.
+
The component will appear in priyatna.org tab.
+
+
+
+
+
Methods
+
There are some main methods of the component:
+
+
procedure BeginUpdate;
+ Call this method to temporarily prevent the control from updating its content.
+ This is useful when you want to add bulky items to the control.
+
+
+
procedure EndUpdate;
+ This method is used to re-enable update after calling BeginUpdate. You must
+ call BeginUpdate prior to call this method.
+
+
+
+
+
+
Properties
+
There are some main properties of the component:
+
+
property Items: TSideBarItems;
+ A collection of items. Each item usually have subitems. You can associate
+ item as a menu group. Item can have a glyph supplied from an image list, while
+ sub items use bullets.
+
+
+
property ItemIndex: Integer;
+ Specifies which item is currently selected.
+
+
+
property SubItemIndex: Integer;
+ Specifies which sub item is currently selected.
+
+
+
property ItemStyle: TSideBarItemStyle;
+ This is where you can customize item: normal state font and color, selected
+ state font and color, hover state font and color, and also line color.
+
+
+
property SubItemStyle: TSideBarItemStyle;
+ This is where you can customize sub items: normal state font and color, selected
+ state font and color, hover state font and color, and also line color.
+
+
+
property Bullets: TSideBarBulletStyle;
+ This is where you can customize bullets: visibility, normal hover and selected
+ state colors, outline colors and size. Currently it has three bullet style:
+ round, rectangle and diamond.
+
+
+
property Scrollers: TSideBarScrollerStyle;
+ This is where you can customize scroller arrow: normal, hover and selected
+ colors and outline colors.
+
+