You've already forked lazarus-ccr
jvcllaz: Lowercase unit and package files of JvXPCtrls packages. Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6939 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -39,7 +39,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
initialization
|
initialization
|
||||||
{$I ../resource/JvXPCtrlsLaz.lrs}
|
{$I ../resource/jvxpctrlslaz.lrs}
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
@ -16,7 +16,7 @@ object frmMain: TfrmMain
|
|||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
Position = poScreenCenter
|
Position = poScreenCenter
|
||||||
ShowHint = True
|
ShowHint = True
|
||||||
LCLVersion = '1.9.0.0'
|
LCLVersion = '2.1.0.0'
|
||||||
Scaled = False
|
Scaled = False
|
||||||
object spltMain: TSplitter
|
object spltMain: TSplitter
|
||||||
Left = 206
|
Left = 206
|
||||||
|
@ -5,10 +5,9 @@ unit MainFrm;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
//Windows, Messages,
|
SysUtils, Classes, Graphics, Controls, Forms, StdCtrls, ComCtrls, ExtCtrls,
|
||||||
SysUtils, Classes, Graphics, Controls, Forms,
|
Dialogs, ImgList, ActnList,
|
||||||
Dialogs, JvXPCore, JvXPBar, JvXPContainer, ImgList, ActnList, ExtCtrls,
|
JvXPCore, JvXPBar, JvXPContainer, JvExControls, JvComponent, JvXPCheckCtrls,
|
||||||
StdCtrls, ComCtrls, JvExControls, JvComponent, JvXPCheckCtrls,
|
|
||||||
JvXPButtons;
|
JvXPButtons;
|
||||||
|
|
||||||
resourcestring
|
resourcestring
|
||||||
|
@ -2,23 +2,23 @@ object frmMain: TfrmMain
|
|||||||
Left = 291
|
Left = 291
|
||||||
Height = 191
|
Height = 191
|
||||||
Top = 290
|
Top = 290
|
||||||
Width = 486
|
Width = 504
|
||||||
BorderIcons = [biSystemMenu, biMinimize]
|
BorderIcons = [biSystemMenu, biMinimize]
|
||||||
BorderStyle = bsSingle
|
BorderStyle = bsSingle
|
||||||
Caption = 'frmMain'
|
Caption = 'frmMain'
|
||||||
ClientHeight = 191
|
ClientHeight = 191
|
||||||
ClientWidth = 486
|
ClientWidth = 504
|
||||||
Color = clBtnFace
|
Color = clBtnFace
|
||||||
DefaultMonitor = dmDesktop
|
DefaultMonitor = dmDesktop
|
||||||
Font.Color = clWindowText
|
Font.Color = clWindowText
|
||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
Position = poDesktopCenter
|
Position = poDesktopCenter
|
||||||
LCLVersion = '1.9.0.0'
|
LCLVersion = '2.1.0.0'
|
||||||
object cntHeader: TJvXPContainer
|
object cntHeader: TJvXPContainer
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 15
|
Height = 15
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 486
|
Width = 504
|
||||||
Caption = 'cntHeader'
|
Caption = 'cntHeader'
|
||||||
OnPaint = cntHeaderPaint
|
OnPaint = cntHeaderPaint
|
||||||
Align = alTop
|
Align = alTop
|
||||||
@ -288,7 +288,7 @@ object frmMain: TfrmMain
|
|||||||
Left = 145
|
Left = 145
|
||||||
Height = 17
|
Height = 17
|
||||||
Top = 80
|
Top = 80
|
||||||
Width = 334
|
Width = 352
|
||||||
Caption = '&Toogle Enable-Mode'
|
Caption = '&Toogle Enable-Mode'
|
||||||
TabOrder = 8
|
TabOrder = 8
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
|
@ -18,16 +18,16 @@
|
|||||||
<Version Major="1" Release="4"/>
|
<Version Major="1" Release="4"/>
|
||||||
<Files Count="2">
|
<Files Count="2">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="..\design\JvXPCtrls\JvXPCtrlsReg.pas"/>
|
<Filename Value="..\design\JvXPCtrls\jvxpctrlsreg.pas"/>
|
||||||
<HasRegisterProc Value="True"/>
|
<HasRegisterProc Value="True"/>
|
||||||
<UnitName Value="JvXPCtrlsReg"/>
|
<UnitName Value="JvXPCtrlsReg"/>
|
||||||
</Item1>
|
</Item1>
|
||||||
<Item2>
|
<Item2>
|
||||||
<Filename Value="..\design\JvXPCtrls\JvXPPropertyEditors.pas"/>
|
<Filename Value="..\design\JvXPCtrls\jvxppropertyeditors.pas"/>
|
||||||
<UnitName Value="JvXPPropertyEditors"/>
|
<UnitName Value="JvXPPropertyEditors"/>
|
||||||
</Item2>
|
</Item2>
|
||||||
</Files>
|
</Files>
|
||||||
<RequiredPkgs Count="4">
|
<RequiredPkgs Count="3">
|
||||||
<Item1>
|
<Item1>
|
||||||
<PackageName Value="JvCoreLazD"/>
|
<PackageName Value="JvCoreLazD"/>
|
||||||
</Item1>
|
</Item1>
|
||||||
@ -37,9 +37,6 @@
|
|||||||
<Item3>
|
<Item3>
|
||||||
<PackageName Value="JvXPCtrlsLazR"/>
|
<PackageName Value="JvXPCtrlsLazR"/>
|
||||||
</Item3>
|
</Item3>
|
||||||
<Item4>
|
|
||||||
<PackageName Value="FCL"/>
|
|
||||||
</Item4>
|
|
||||||
</RequiredPkgs>
|
</RequiredPkgs>
|
||||||
<UsageOptions>
|
<UsageOptions>
|
||||||
<UnitPath Value="$(PkgOutDir)"/>
|
<UnitPath Value="$(PkgOutDir)"/>
|
@ -17,40 +17,37 @@
|
|||||||
<Version Major="1" Release="4"/>
|
<Version Major="1" Release="4"/>
|
||||||
<Files Count="6">
|
<Files Count="6">
|
||||||
<Item1>
|
<Item1>
|
||||||
<Filename Value="..\run\JvXPCtrls\JvXPBar.pas"/>
|
<Filename Value="..\run\JvXPCtrls\jvxpbar.pas"/>
|
||||||
<UnitName Value="JvXPBar"/>
|
<UnitName Value="JvXPBar"/>
|
||||||
</Item1>
|
</Item1>
|
||||||
<Item2>
|
<Item2>
|
||||||
<Filename Value="..\run\JvXPCtrls\JvXPButtons.pas"/>
|
<Filename Value="..\run\JvXPCtrls\jvxpbuttons.pas"/>
|
||||||
<UnitName Value="JvXPButtons"/>
|
<UnitName Value="JvXPButtons"/>
|
||||||
</Item2>
|
</Item2>
|
||||||
<Item3>
|
<Item3>
|
||||||
<Filename Value="..\run\JvXPCtrls\JvXPCheckCtrls.pas"/>
|
<Filename Value="..\run\JvXPCtrls\jvxpcheckctrls.pas"/>
|
||||||
<UnitName Value="JvXPCheckCtrls"/>
|
<UnitName Value="JvXPCheckCtrls"/>
|
||||||
</Item3>
|
</Item3>
|
||||||
<Item4>
|
<Item4>
|
||||||
<Filename Value="..\run\JvXPCtrls\JvXPContainer.pas"/>
|
<Filename Value="..\run\JvXPCtrls\jvxpcontainer.pas"/>
|
||||||
<UnitName Value="JvXPContainer"/>
|
<UnitName Value="JvXPContainer"/>
|
||||||
</Item4>
|
</Item4>
|
||||||
<Item5>
|
<Item5>
|
||||||
<Filename Value="..\run\JvXPCtrls\JvXPCore.pas"/>
|
<Filename Value="..\run\JvXPCtrls\jvxpcore.pas"/>
|
||||||
<UnitName Value="JvXPCore"/>
|
<UnitName Value="JvXPCore"/>
|
||||||
</Item5>
|
</Item5>
|
||||||
<Item6>
|
<Item6>
|
||||||
<Filename Value="..\run\JvXPCtrls\JvXPCoreUtils.pas"/>
|
<Filename Value="..\run\JvXPCtrls\jvxpcoreutils.pas"/>
|
||||||
<UnitName Value="JvXPCoreUtils"/>
|
<UnitName Value="JvXPCoreUtils"/>
|
||||||
</Item6>
|
</Item6>
|
||||||
</Files>
|
</Files>
|
||||||
<RequiredPkgs Count="3">
|
<RequiredPkgs Count="2">
|
||||||
<Item1>
|
<Item1>
|
||||||
<PackageName Value="JvStdCtrlsLazR"/>
|
<PackageName Value="JvStdCtrlsLazR"/>
|
||||||
</Item1>
|
</Item1>
|
||||||
<Item2>
|
<Item2>
|
||||||
<PackageName Value="JvCoreLazR"/>
|
<PackageName Value="JvCoreLazR"/>
|
||||||
</Item2>
|
</Item2>
|
||||||
<Item3>
|
|
||||||
<PackageName Value="FCL"/>
|
|
||||||
</Item3>
|
|
||||||
</RequiredPkgs>
|
</RequiredPkgs>
|
||||||
<UsageOptions>
|
<UsageOptions>
|
||||||
<UnitPath Value="$(PkgOutDir)"/>
|
<UnitPath Value="$(PkgOutDir)"/>
|
@ -1,254 +0,0 @@
|
|||||||
LazarusResources.Add('JVXPCUSTOMWINXPBARCOLLAPSE0','BMP',[
|
|
||||||
'BM&'#4#0#0#0#0#0#0'6'#0#0#0'('#0#0#0#18#0#0#0#18#0#0#0#1#0#24#0#0#0#0#0#240#3
|
|
||||||
+#0#0#195#14#0#0#195#14#0#0#0#0#0#0#0#0#0#0#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#165'8'#0#255#0#255#255#0
|
|
||||||
+#255#255#0#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#165'8'#0#165'8'#0#255#0#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#165'8'#0#165'8'#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0
|
|
||||||
+#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#165'8'#0#165'8'#0
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#165'8'#0#255#0
|
|
||||||
+#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#165'8'#0#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#0#0
|
|
||||||
]);
|
|
||||||
LazarusResources.Add('JVXPCUSTOMWINXPBARCOLLAPSE1','BMP',[
|
|
||||||
'BM&'#4#0#0#0#0#0#0'6'#0#0#0'('#0#0#0#18#0#0#0#18#0#0#0#1#0#24#0#0#0#0#0#240#3
|
|
||||||
+#0#0#195#14#0#0#195#14#0#0#0#0#0#0#0#0#0#0#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#165'8'#0#255#0#255#255#0
|
|
||||||
+#255#255#0#255#165'8'#0#165'8'#1#255#0#255#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#165'8'#0#165'8'#0#255#0#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#165'8'#0#165'8'#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0
|
|
||||||
+#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#165'8'#0#165'8'#0
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#165'8'#0#255#0
|
|
||||||
+#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#165'8'#0#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#0#0
|
|
||||||
]);
|
|
||||||
LazarusResources.Add('JVXPCUSTOMWINXPBARCOLLAPSE2','BMP',[
|
|
||||||
'BM&'#4#0#0#0#0#0#0'6'#0#0#0'('#0#0#0#18#0#0#0#18#0#0#0#1#0#24#0#0#0#0#0#240#3
|
|
||||||
+#0#0#195#14#0#0#195#14#0#0#0#0#0#0#0#0#0#0#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#165'8'#0#165
|
|
||||||
+'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#165'8'#0#255
|
|
||||||
+#0#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#165'8'#0#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0
|
|
||||||
+#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#165
|
|
||||||
+'8'#0#255#0#255#255#0#255#255#0#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#165'8'#0#165'8'#0#255#0#255#165'8'#0#165'8'#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#165
|
|
||||||
+'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#165'8'#0#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0
|
|
||||||
+#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#0#0
|
|
||||||
]);
|
|
||||||
LazarusResources.Add('JVXPCUSTOMWINXPBAREXPAND0','BMP',[
|
|
||||||
'BM&'#4#0#0#0#0#0#0'6'#0#0#0'('#0#0#0#18#0#0#0#18#0#0#0#1#0#24#0#0#0#0#0#240#3
|
|
||||||
+#0#0#195#14#0#0#195#14#0#0#0#0#0#0#0#0#0#0#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#168'6'#8#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#165'8'#0#165
|
|
||||||
+'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#165'8'#0#165'8'#0#255#0#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#173'3'#24#166'8'#2#255#0#255#255#0#255#255#0#255#165'8'
|
|
||||||
+#0#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#165'8'#0#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#166'7'#3#165'8'#0#255#0#255#165
|
|
||||||
+'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#0#182
|
|
||||||
+'./'#255#0#255#255#0#255#255#0#255#169'6'#11#169'5'#12#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0
|
|
||||||
+#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#0#0
|
|
||||||
]);
|
|
||||||
LazarusResources.Add('JVXPCUSTOMWINXPBAREXPAND1','BMP',[
|
|
||||||
'BM&'#4#0#0#0#0#0#0'6'#0#0#0'('#0#0#0#18#0#0#0#18#0#0#0#1#0#24#0#0#0#0#0#240#3
|
|
||||||
+#0#0#195#14#0#0#195#14#0#0#0#0#0#0#0#0#0#0#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#167'6'#7#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#166'8'#2#165'8'#0#165
|
|
||||||
+'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#165'8'#0#165'8'#0#255#0#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#165'8'#0
|
|
||||||
+#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#165'8'#0#165'8'#0#165'8'#0#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#1#165'8'#1#255#0#255#165
|
|
||||||
+'8'#0#165'8'#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#165'8'#1#171
|
|
||||||
+'4'#18#255#0#255#255#0#255#255#0#255#166'7'#4#165'8'#1#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0
|
|
||||||
+#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255
|
|
||||||
+#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#0#0#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#0#0#255#0#255
|
|
||||||
+#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0
|
|
||||||
+#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255#255#0#255
|
|
||||||
+#255#0#255#255#0#255#0#0
|
|
||||||
]);
|
|
||||||
LazarusResources.Add('JVXPCUSTOMWINXPBAREXPAND2','BMP',[
|
|
||||||
'BM'#174#1#0#0#0#0#0#0'F'#0#0#0'('#0#0#0#18#0#0#0#18#0#0#0#1#0#8#0#0#0#0#0'h'
|
|
||||||
+#1#0#0#195#14#0#0#195#14#0#0#4#0#0#0#4#0#0#0#255#0#255#0#165'8'#0#0#255#255
|
|
||||||
+#255#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
|
||||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
|
||||||
+#1#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#1#1#1#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
|
||||||
+#1#1#0#1#1#0#0#0#0#0#0#0#0#0#0#0#0#0#0#1#1#0#0#0#1#1#0#0#0#0#0#0#0#0#0#0#0#0
|
|
||||||
+#0#0#0#0#1#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#1#1#1#0#0#0#0#0#0#0#0#0#0#0#0
|
|
||||||
+#0#0#0#0#1#1#0#1#1#0#0#0#0#0#0#0#0#0#0#0#0#0#0#1#1#0#0#0#1#1#0#0#0#0#0#0#0#0
|
|
||||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
|
||||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
|
||||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
|
||||||
+#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0#0
|
|
||||||
]);
|
|
@ -113,12 +113,6 @@ type
|
|||||||
FClient: TJvXPBarItem;
|
FClient: TJvXPBarItem;
|
||||||
protected
|
protected
|
||||||
procedure AssignClient(AClient: TObject); override;
|
procedure AssignClient(AClient: TObject); override;
|
||||||
function IsCaptionLinked: Boolean; override;
|
|
||||||
function IsCheckedLinked: Boolean; override;
|
|
||||||
function IsEnabledLinked: Boolean; override;
|
|
||||||
function IsHintLinked: Boolean; override;
|
|
||||||
function IsImageIndexLinked: Boolean; override;
|
|
||||||
function IsVisibleLinked: Boolean; override;
|
|
||||||
function IsOnExecuteLinked: Boolean; override;
|
function IsOnExecuteLinked: Boolean; override;
|
||||||
procedure SetCaption(const Value: string); override;
|
procedure SetCaption(const Value: string); override;
|
||||||
procedure SetHint(const Value: string); override;
|
procedure SetHint(const Value: string); override;
|
||||||
@ -131,6 +125,14 @@ type
|
|||||||
procedure SetVisible(Value: Boolean); override;
|
procedure SetVisible(Value: Boolean); override;
|
||||||
procedure SetOnExecute(Value: TNotifyEvent); override;
|
procedure SetOnExecute(Value: TNotifyEvent); override;
|
||||||
property Client: TJvXPBarItem read FClient write FClient;
|
property Client: TJvXPBarItem read FClient write FClient;
|
||||||
|
public
|
||||||
|
function IsCaptionLinked: Boolean; override;
|
||||||
|
function IsCheckedLinked: Boolean; override;
|
||||||
|
function IsEnabledLinked: Boolean; override;
|
||||||
|
function IsHintLinked: Boolean; override;
|
||||||
|
function IsImageIndexLinked: Boolean; override;
|
||||||
|
function IsVisibleLinked: Boolean; override;
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TJvXPBarItemActionLinkClass = class of TJvXPBarItemActionLink;
|
TJvXPBarItemActionLinkClass = class of TJvXPBarItemActionLink;
|
||||||
@ -449,7 +451,7 @@ type
|
|||||||
constructor Create(AOwner: TComponent); override;
|
constructor Create(AOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
function GetHitTestAt(X, Y: Integer): TJvXPBarHitTest;
|
function GetHitTestAt(X, Y: Integer): TJvXPBarHitTest;
|
||||||
function GetItemAt(X, Y: Integer): Integer;
|
function GetItemAt({%H-}X, Y: Integer): Integer;
|
||||||
procedure Click; override;
|
procedure Click; override;
|
||||||
property Height default 46;
|
property Height default 46;
|
||||||
property VisibleItems: TJvXPBarVisibleItems read FVisibleItems;
|
property VisibleItems: TJvXPBarVisibleItems read FVisibleItems;
|
||||||
@ -550,7 +552,7 @@ procedure RoundedFrame(Canvas: TCanvas; ARect: TRect; AColor: TColor; R: Integer
|
|||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
{$R ../../resource/JvXPBar.res}
|
{$R ../../resource/jvxpbar.res}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
Menus;
|
Menus;
|
||||||
@ -1772,8 +1774,8 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TJvXPCustomWinXPBar.SetHotTrack(Value: Boolean);
|
procedure TJvXPCustomWinXPBar.SetHotTrack(Value: Boolean);
|
||||||
const
|
//const
|
||||||
MouseEvents: TJvXPControlStyle = [csRedrawMouseEnter, csRedrawMouseLeave];
|
// MouseEvents: TJvXPControlStyle = [csRedrawMouseEnter, csRedrawMouseLeave];
|
||||||
begin
|
begin
|
||||||
if Value <> FHotTrack then
|
if Value <> FHotTrack then
|
||||||
begin
|
begin
|
@ -38,11 +38,11 @@ uses
|
|||||||
type
|
type
|
||||||
TJvXPCustomButtonActionLink = class(TWinControlActionLink)
|
TJvXPCustomButtonActionLink = class(TWinControlActionLink)
|
||||||
protected
|
protected
|
||||||
function IsImageIndexLinked: Boolean; override;
|
|
||||||
procedure AssignClient(AClient: TObject); override;
|
procedure AssignClient(AClient: TObject); override;
|
||||||
procedure SetImageIndex(Value: Integer); override;
|
procedure SetImageIndex(Value: Integer); override;
|
||||||
public
|
public
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
|
function IsImageIndexLinked: Boolean; override;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TJvXPLayout = (blGlyphLeft, blGlyphRight, blGlyphTop, blGlyphBottom);
|
TJvXPLayout = (blGlyphLeft, blGlyphRight, blGlyphTop, blGlyphBottom);
|
||||||
@ -85,7 +85,6 @@ type
|
|||||||
procedure SetWordWrap(Value: Boolean); virtual;
|
procedure SetWordWrap(Value: Boolean); virtual;
|
||||||
procedure Paint; override;
|
procedure Paint; override;
|
||||||
procedure HookResized; override;
|
procedure HookResized; override;
|
||||||
procedure SetBounds(ALeft, ATop, AWidth, AHeight: integer); override;
|
|
||||||
procedure UpdateBitmaps;
|
procedure UpdateBitmaps;
|
||||||
|
|
||||||
// advanced properties.
|
// advanced properties.
|
||||||
@ -104,6 +103,7 @@ type
|
|||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
procedure Click; override;
|
procedure Click; override;
|
||||||
procedure Loaded ; override;
|
procedure Loaded ; override;
|
||||||
|
procedure SetBounds(ALeft, ATop, AWidth, AHeight: integer); override;
|
||||||
published
|
published
|
||||||
// property TabStop default True;
|
// property TabStop default True;
|
||||||
// property UseDockManager default True;
|
// property UseDockManager default True;
|
||||||
@ -504,7 +504,7 @@ end;
|
|||||||
|
|
||||||
procedure TJvXPCustomButton.KeyUp(var Key: Word; Shift: TShiftState);
|
procedure TJvXPCustomButton.KeyUp(var Key: Word; Shift: TShiftState);
|
||||||
var
|
var
|
||||||
Pos: TPoint;
|
Pos: TPoint = (X:0; Y:0);
|
||||||
begin
|
begin
|
||||||
// it's not possible to call the 'HookMouseUp' or 'HookMouseLeave' methods,
|
// it's not possible to call the 'HookMouseUp' or 'HookMouseLeave' methods,
|
||||||
// because we don't want to call their event handlers.
|
// because we don't want to call their event handlers.
|
@ -442,15 +442,6 @@ begin
|
|||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{$IFDEF USEJVCL}
|
|
||||||
{$IFDEF UNITVERSIONING}
|
|
||||||
initialization
|
|
||||||
RegisterUnitVersion(HInstance, UnitVersioning);
|
|
||||||
|
|
||||||
finalization
|
|
||||||
UnregisterUnitVersion(HInstance);
|
|
||||||
{$ENDIF UNITVERSIONING}
|
|
||||||
{$ENDIF USEJVCL}
|
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
@ -75,13 +75,10 @@ type
|
|||||||
protected
|
protected
|
||||||
procedure CreateParams(var Params: TCreateParams); override;
|
procedure CreateParams(var Params: TCreateParams); override;
|
||||||
procedure AdjustClientRect(var Rect: TRect); override;
|
procedure AdjustClientRect(var Rect: TRect); override;
|
||||||
procedure GetPreferredSize(var PreferredWidth, PreferredHeight: integer;
|
|
||||||
Raw: boolean = false; WithThemeSpace: boolean = true); override;
|
|
||||||
procedure HookEnabledChanged; override;
|
procedure HookEnabledChanged; override;
|
||||||
procedure HookMouseDown; override;
|
procedure HookMouseDown; override;
|
||||||
procedure HookPosChanged; override;
|
procedure HookPosChanged; override;
|
||||||
procedure Paint; override;
|
procedure Paint; override;
|
||||||
procedure SetBounds(aLeft, aTop, aWidth, aHeight: integer); override;
|
|
||||||
property Alignment: TAlignment read FAlignment write SetAlignment default taCenter;
|
property Alignment: TAlignment read FAlignment write SetAlignment default taCenter;
|
||||||
property BorderWidth: TBorderWidth read FBorderWidth write SetBorderWidth default 0;
|
property BorderWidth: TBorderWidth read FBorderWidth write SetBorderWidth default 0;
|
||||||
property BoundColor: TColor read FBoundColor write SetBoundColor default clGray;
|
property BoundColor: TColor read FBoundColor write SetBoundColor default clGray;
|
||||||
@ -105,6 +102,9 @@ type
|
|||||||
public
|
public
|
||||||
constructor Create(AOwner: TComponent); override;
|
constructor Create(AOwner: TComponent); override;
|
||||||
destructor Destroy; override;
|
destructor Destroy; override;
|
||||||
|
procedure GetPreferredSize(var PreferredWidth, PreferredHeight: integer;
|
||||||
|
Raw: boolean = false; WithThemeSpace: boolean = true); override;
|
||||||
|
procedure SetBounds(aLeft, aTop, aWidth, aHeight: integer); override;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
TJvXPContainer = class(TJvXPCustomContainer)
|
TJvXPContainer = class(TJvXPCustomContainer)
|
@ -54,7 +54,7 @@ procedure JvXPDrawBoundLines(const ACanvas: TCanvas; const BoundLines: TJvXPBoun
|
|||||||
|
|
||||||
procedure JvXPConvertToGray2(ABitmap: TBitmap);
|
procedure JvXPConvertToGray2(ABitmap: TBitmap);
|
||||||
|
|
||||||
procedure JvXPRenderText(const AParent: TControl; const ACanvas: TCanvas;
|
procedure JvXPRenderText(const {%H-}AParent: TControl; const ACanvas: TCanvas;
|
||||||
ACaption: TCaption; const AFont: TFont; const AEnabled, AShowAccelChar: Boolean;
|
ACaption: TCaption; const AFont: TFont; const AEnabled, AShowAccelChar: Boolean;
|
||||||
var ARect: TRect; AFlags: Integer);
|
var ARect: TRect; AFlags: Integer);
|
||||||
|
|
||||||
@ -64,7 +64,7 @@ procedure JvXPFrame3D(const ACanvas: TCanvas; const ARect: TRect;
|
|||||||
procedure JvXPColorizeBitmap(ABitmap: TBitmap; const AColor: TColor);
|
procedure JvXPColorizeBitmap(ABitmap: TBitmap; const AColor: TColor);
|
||||||
|
|
||||||
procedure JvXPSetDrawFlags(const AAlignment: TAlignment; const AWordWrap: Boolean;
|
procedure JvXPSetDrawFlags(const AAlignment: TAlignment; const AWordWrap: Boolean;
|
||||||
var Flags: Integer);
|
out Flags: Integer);
|
||||||
|
|
||||||
procedure JvXPPlaceText(const AParent: TControl; const ACanvas: TCanvas;
|
procedure JvXPPlaceText(const AParent: TControl; const ACanvas: TCanvas;
|
||||||
const AText: TCaption; const AFont: TFont; const AEnabled, AShowAccelChar: Boolean;
|
const AText: TCaption; const AFont: TFont; const AEnabled, AShowAccelChar: Boolean;
|
||||||
@ -74,7 +74,7 @@ procedure JvXPPlaceText(const AParent: TControl; const ACanvas: TCanvas;
|
|||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
IntfGraphics, fpCanvas, fpImage, fpImgCanv;
|
IntfGraphics, fpCanvas, fpImage;
|
||||||
|
|
||||||
function JvXPMethodsEqual(const Method1, Method2: TMethod): Boolean;
|
function JvXPMethodsEqual(const Method1, Method2: TMethod): Boolean;
|
||||||
begin
|
begin
|
||||||
@ -414,7 +414,7 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
procedure JvXPSetDrawFlags(const AAlignment: TAlignment; const AWordWrap: Boolean;
|
procedure JvXPSetDrawFlags(const AAlignment: TAlignment; const AWordWrap: Boolean;
|
||||||
var Flags: Integer);
|
out Flags: Integer);
|
||||||
begin
|
begin
|
||||||
Flags := DT_END_ELLIPSIS;
|
Flags := DT_END_ELLIPSIS;
|
||||||
case AAlignment of
|
case AAlignment of
|
Reference in New Issue
Block a user