You've already forked lazarus-ccr
spktoolbar: Add inherited properties. Add DoubleBuffered = true (otherwise severe flickering after recent changes in Laz trunk after r57267)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6185 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -361,7 +361,7 @@ type
|
|||||||
// *** Drawing ***
|
// *** Drawing ***
|
||||||
// ***************
|
// ***************
|
||||||
|
|
||||||
procedure EraseBackground(DC: HDC); override;
|
// procedure EraseBackground(DC: HDC); override;
|
||||||
|
|
||||||
{ Method draws the content of the component }
|
{ Method draws the content of the component }
|
||||||
procedure Paint; override;
|
procedure Paint; override;
|
||||||
@ -429,6 +429,17 @@ type
|
|||||||
property OnTabChanging: TSpkTabChangingEvent
|
property OnTabChanging: TSpkTabChangingEvent
|
||||||
read FOnTabChanging write FOnTabChanging;
|
read FOnTabChanging write FOnTabChanging;
|
||||||
property OnTabChanged: TNotifyEvent read FOnTabChanged write FOnTabChanged;
|
property OnTabChanged: TNotifyEvent read FOnTabChanged write FOnTabChanged;
|
||||||
|
|
||||||
|
{ inherited properties }
|
||||||
|
property Align default alTop;
|
||||||
|
property BorderSpacing;
|
||||||
|
property Anchors;
|
||||||
|
property Hint;
|
||||||
|
property ParentShowHint;
|
||||||
|
property ShowHint;
|
||||||
|
property Visible;
|
||||||
|
property OnResize;
|
||||||
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|
||||||
@ -531,7 +542,9 @@ begin
|
|||||||
inherited Create(AOwner);
|
inherited Create(AOwner);
|
||||||
|
|
||||||
// Initialization of inherited property
|
// Initialization of inherited property
|
||||||
inherited Align := alTop;
|
Align := alTop;
|
||||||
|
DoubleBuffered := true; // required after Laz 1.9
|
||||||
|
|
||||||
//todo: not found in lcl
|
//todo: not found in lcl
|
||||||
//inherited AlignWithMargins:=true;
|
//inherited AlignWithMargins:=true;
|
||||||
|
|
||||||
@ -1067,7 +1080,7 @@ begin
|
|||||||
|
|
||||||
inherited;
|
inherited;
|
||||||
end;
|
end;
|
||||||
|
(*
|
||||||
procedure TSpkToolbar.EraseBackground(DC: HDC);
|
procedure TSpkToolbar.EraseBackground(DC: HDC);
|
||||||
begin
|
begin
|
||||||
// The correct implementation is doing nothing
|
// The correct implementation is doing nothing
|
||||||
@ -1075,7 +1088,7 @@ begin
|
|||||||
inherited; // wp: this calls FillRect!
|
inherited; // wp: this calls FillRect!
|
||||||
// "inherited" removed in case of no themes to fix issue #0025047 (flickering
|
// "inherited" removed in case of no themes to fix issue #0025047 (flickering
|
||||||
// when using standard windows theme or when manifest file is off)
|
// when using standard windows theme or when manifest file is off)
|
||||||
end;
|
end; *)
|
||||||
|
|
||||||
procedure TSpkToolbar.SetBufferInvalid;
|
procedure TSpkToolbar.SetBufferInvalid;
|
||||||
begin
|
begin
|
||||||
|
@ -216,42 +216,30 @@ object Form1: TForm1
|
|||||||
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
||||||
CustomAppearance.Element.Style = esRounded
|
CustomAppearance.Element.Style = esRounded
|
||||||
Caption = 'File'
|
Caption = 'File'
|
||||||
OverrideAppearance = False
|
|
||||||
Visible = True
|
|
||||||
Panes = (
|
Panes = (
|
||||||
'SpkPane1'
|
'SpkPane1'
|
||||||
)
|
)
|
||||||
object SpkPane1: TSpkPane
|
object SpkPane1: TSpkPane
|
||||||
Caption = 'File commands'
|
Caption = 'File commands'
|
||||||
Visible = True
|
|
||||||
Items = (
|
Items = (
|
||||||
'SpkLargeButton1'
|
'SpkLargeButton1'
|
||||||
'SpkLargeButton2'
|
'SpkLargeButton2'
|
||||||
'SpkLargeButton3'
|
'SpkLargeButton3'
|
||||||
)
|
)
|
||||||
object SpkLargeButton1: TSpkLargeButton
|
object SpkLargeButton1: TSpkLargeButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcOpen
|
Action = AcOpen
|
||||||
Caption = 'Open file'
|
Caption = 'Open file'
|
||||||
LargeImageIndex = 1
|
LargeImageIndex = 1
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
object SpkLargeButton2: TSpkLargeButton
|
object SpkLargeButton2: TSpkLargeButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcSave
|
Action = AcSave
|
||||||
Caption = 'Save file'
|
Caption = 'Save file'
|
||||||
LargeImageIndex = 2
|
LargeImageIndex = 2
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
object SpkLargeButton3: TSpkLargeButton
|
object SpkLargeButton3: TSpkLargeButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcQuit
|
Action = AcQuit
|
||||||
Caption = 'Quit program'
|
Caption = 'Quit program'
|
||||||
LargeImageIndex = 0
|
LargeImageIndex = 0
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -300,54 +288,36 @@ object Form1: TForm1
|
|||||||
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
||||||
CustomAppearance.Element.Style = esRounded
|
CustomAppearance.Element.Style = esRounded
|
||||||
Caption = 'Edit'
|
Caption = 'Edit'
|
||||||
OverrideAppearance = False
|
|
||||||
Visible = True
|
|
||||||
Panes = (
|
Panes = (
|
||||||
'SpkPane3'
|
'SpkPane3'
|
||||||
)
|
)
|
||||||
object SpkPane3: TSpkPane
|
object SpkPane3: TSpkPane
|
||||||
Caption = 'Edit commands'
|
Caption = 'Edit commands'
|
||||||
Visible = True
|
|
||||||
Items = (
|
Items = (
|
||||||
'SpkSmallButton1'
|
'SpkSmallButton1'
|
||||||
'SpkSmallButton2'
|
'SpkSmallButton2'
|
||||||
'SpkSmallButton7'
|
'SpkSmallButton7'
|
||||||
)
|
)
|
||||||
object SpkSmallButton1: TSpkSmallButton
|
object SpkSmallButton1: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcEditCut
|
Action = AcEditCut
|
||||||
Caption = 'Cut'
|
Caption = 'Cut'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = True
|
HideFrameWhenIdle = True
|
||||||
ImageIndex = 3
|
ImageIndex = 3
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
object SpkSmallButton2: TSpkSmallButton
|
object SpkSmallButton2: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcEditCopy
|
Action = AcEditCopy
|
||||||
Caption = 'Copy'
|
Caption = 'Copy'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = True
|
HideFrameWhenIdle = True
|
||||||
ImageIndex = 4
|
ImageIndex = 4
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
object SpkSmallButton7: TSpkSmallButton
|
object SpkSmallButton7: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcEditPaste
|
Action = AcEditPaste
|
||||||
Caption = 'Paste'
|
Caption = 'Paste'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = True
|
HideFrameWhenIdle = True
|
||||||
ImageIndex = 5
|
ImageIndex = 5
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -396,14 +366,11 @@ object Form1: TForm1
|
|||||||
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
||||||
CustomAppearance.Element.Style = esRounded
|
CustomAppearance.Element.Style = esRounded
|
||||||
Caption = 'Format'
|
Caption = 'Format'
|
||||||
OverrideAppearance = False
|
|
||||||
Visible = True
|
|
||||||
Panes = (
|
Panes = (
|
||||||
'SpkPane2'
|
'SpkPane2'
|
||||||
)
|
)
|
||||||
object SpkPane2: TSpkPane
|
object SpkPane2: TSpkPane
|
||||||
Caption = 'Format settings'
|
Caption = 'Format settings'
|
||||||
Visible = True
|
|
||||||
Items = (
|
Items = (
|
||||||
'SpkSmallButton4'
|
'SpkSmallButton4'
|
||||||
'SpkSmallButton6'
|
'SpkSmallButton6'
|
||||||
@ -413,48 +380,33 @@ object Form1: TForm1
|
|||||||
'SpkSmallButton11'
|
'SpkSmallButton11'
|
||||||
)
|
)
|
||||||
object SpkSmallButton4: TSpkSmallButton
|
object SpkSmallButton4: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcBold
|
Action = AcBold
|
||||||
Caption = 'Bold'
|
Caption = 'Bold'
|
||||||
GroupBehaviour = gbBeginsGroup
|
GroupBehaviour = gbBeginsGroup
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 7
|
ImageIndex = 7
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
TableBehaviour = tbContinuesRow
|
|
||||||
ButtonKind = bkToggle
|
ButtonKind = bkToggle
|
||||||
end
|
end
|
||||||
object SpkSmallButton6: TSpkSmallButton
|
object SpkSmallButton6: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcItalic
|
Action = AcItalic
|
||||||
Caption = 'Italic'
|
Caption = 'Italic'
|
||||||
GroupBehaviour = gbContinuesGroup
|
GroupBehaviour = gbContinuesGroup
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 8
|
ImageIndex = 8
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
TableBehaviour = tbContinuesRow
|
|
||||||
ButtonKind = bkToggle
|
ButtonKind = bkToggle
|
||||||
end
|
end
|
||||||
object SpkSmallButton8: TSpkSmallButton
|
object SpkSmallButton8: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcUnderline
|
Action = AcUnderline
|
||||||
Caption = 'Underline'
|
Caption = 'Underline'
|
||||||
GroupBehaviour = gbEndsGroup
|
GroupBehaviour = gbEndsGroup
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 9
|
ImageIndex = 9
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
TableBehaviour = tbContinuesRow
|
|
||||||
ButtonKind = bkToggle
|
ButtonKind = bkToggle
|
||||||
end
|
end
|
||||||
object SpkSmallButton9: TSpkSmallButton
|
object SpkSmallButton9: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcLeftJustify
|
Action = AcLeftJustify
|
||||||
Caption = 'Left justify'
|
Caption = 'Left justify'
|
||||||
GroupBehaviour = gbBeginsGroup
|
GroupBehaviour = gbBeginsGroup
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 10
|
ImageIndex = 10
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
@ -462,28 +414,20 @@ object Form1: TForm1
|
|||||||
GroupIndex = 2
|
GroupIndex = 2
|
||||||
end
|
end
|
||||||
object SpkSmallButton10: TSpkSmallButton
|
object SpkSmallButton10: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcCenter
|
Action = AcCenter
|
||||||
Caption = 'Centered'
|
Caption = 'Centered'
|
||||||
GroupBehaviour = gbContinuesGroup
|
GroupBehaviour = gbContinuesGroup
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 11
|
ImageIndex = 11
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
TableBehaviour = tbContinuesRow
|
|
||||||
ButtonKind = bkToggle
|
ButtonKind = bkToggle
|
||||||
GroupIndex = 2
|
GroupIndex = 2
|
||||||
end
|
end
|
||||||
object SpkSmallButton11: TSpkSmallButton
|
object SpkSmallButton11: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcRightJustify
|
Action = AcRightJustify
|
||||||
Caption = 'Right justify'
|
Caption = 'Right justify'
|
||||||
GroupBehaviour = gbEndsGroup
|
GroupBehaviour = gbEndsGroup
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 12
|
ImageIndex = 12
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
TableBehaviour = tbContinuesRow
|
|
||||||
ButtonKind = bkToggle
|
ButtonKind = bkToggle
|
||||||
GroupIndex = 2
|
GroupIndex = 2
|
||||||
end
|
end
|
||||||
@ -534,31 +478,23 @@ object Form1: TForm1
|
|||||||
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
||||||
CustomAppearance.Element.Style = esRounded
|
CustomAppearance.Element.Style = esRounded
|
||||||
Caption = 'Options'
|
Caption = 'Options'
|
||||||
OverrideAppearance = False
|
|
||||||
Visible = True
|
|
||||||
Panes = (
|
Panes = (
|
||||||
'SpkPane6'
|
'SpkPane6'
|
||||||
'SpkPane5'
|
'SpkPane5'
|
||||||
)
|
)
|
||||||
object SpkPane6: TSpkPane
|
object SpkPane6: TSpkPane
|
||||||
Caption = 'User interface'
|
Caption = 'User interface'
|
||||||
Visible = True
|
|
||||||
Items = (
|
Items = (
|
||||||
'SpkRadioButton1'
|
'SpkRadioButton1'
|
||||||
'SpkRadioButton2'
|
'SpkRadioButton2'
|
||||||
'SpkSmallButton3'
|
'SpkSmallButton3'
|
||||||
)
|
)
|
||||||
object SpkRadioButton1: TSpkRadioButton
|
object SpkRadioButton1: TSpkRadioButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcClassicalGUI
|
Action = AcClassicalGUI
|
||||||
Caption = 'Classical'
|
Caption = 'Classical'
|
||||||
State = cbUnchecked
|
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
end
|
end
|
||||||
object SpkRadioButton2: TSpkRadioButton
|
object SpkRadioButton2: TSpkRadioButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcRibbonGUI
|
Action = AcRibbonGUI
|
||||||
Caption = 'Ribbon'
|
Caption = 'Ribbon'
|
||||||
Checked = True
|
Checked = True
|
||||||
@ -566,40 +502,26 @@ object Form1: TForm1
|
|||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
end
|
end
|
||||||
object SpkSmallButton3: TSpkSmallButton
|
object SpkSmallButton3: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Style'
|
Caption = 'Style'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 14
|
ImageIndex = 14
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbContinuesRow
|
|
||||||
ButtonKind = bkDropdown
|
ButtonKind = bkDropdown
|
||||||
DropdownMenu = StyleMenu
|
DropdownMenu = StyleMenu
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object SpkPane5: TSpkPane
|
object SpkPane5: TSpkPane
|
||||||
Caption = 'Save settings'
|
Caption = 'Save settings'
|
||||||
Visible = True
|
|
||||||
Items = (
|
Items = (
|
||||||
'SpkSmallButton5'
|
'SpkSmallButton5'
|
||||||
'SpkCheckbox1'
|
'SpkCheckbox1'
|
||||||
)
|
)
|
||||||
object SpkSmallButton5: TSpkSmallButton
|
object SpkSmallButton5: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcSaveNow
|
Action = AcSaveNow
|
||||||
Caption = 'Save now'
|
Caption = 'Save now'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = True
|
HideFrameWhenIdle = True
|
||||||
ImageIndex = 2
|
ImageIndex = 2
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
object SpkCheckbox1: TSpkCheckbox
|
object SpkCheckbox1: TSpkCheckbox
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcAutoSave
|
Action = AcAutoSave
|
||||||
Caption = 'Autosave'
|
Caption = 'Autosave'
|
||||||
Checked = True
|
Checked = True
|
||||||
@ -653,24 +575,18 @@ object Form1: TForm1
|
|||||||
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
||||||
CustomAppearance.Element.Style = esRounded
|
CustomAppearance.Element.Style = esRounded
|
||||||
Caption = 'Help'
|
Caption = 'Help'
|
||||||
OverrideAppearance = False
|
|
||||||
Visible = True
|
|
||||||
Panes = (
|
Panes = (
|
||||||
'SpkPane4'
|
'SpkPane4'
|
||||||
)
|
)
|
||||||
object SpkPane4: TSpkPane
|
object SpkPane4: TSpkPane
|
||||||
Caption = 'Info'
|
Caption = 'Info'
|
||||||
Visible = True
|
|
||||||
Items = (
|
Items = (
|
||||||
'SpkLargeButton4'
|
'SpkLargeButton4'
|
||||||
)
|
)
|
||||||
object SpkLargeButton4: TSpkLargeButton
|
object SpkLargeButton4: TSpkLargeButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Action = AcAbout
|
Action = AcAbout
|
||||||
Caption = 'About...'
|
Caption = 'About...'
|
||||||
LargeImageIndex = 6
|
LargeImageIndex = 6
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -1421,9 +1337,6 @@ object Form1: TForm1
|
|||||||
0000000000000000000000000000000000000000002E00000033000000330000
|
0000000000000000000000000000000000000000002E00000033000000330000
|
||||||
002E000000000000000000000000
|
002E000000000000000000000000
|
||||||
}
|
}
|
||||||
BitmapAdv = {
|
|
||||||
4C6900000000
|
|
||||||
}
|
|
||||||
end
|
end
|
||||||
object LargeImageList: TImageList
|
object LargeImageList: TImageList
|
||||||
Height = 32
|
Height = 32
|
||||||
@ -2329,8 +2242,5 @@ object Form1: TForm1
|
|||||||
0009000000030000000000000000000000000000000000000000000000000000
|
0009000000030000000000000000000000000000000000000000000000000000
|
||||||
0000000000000000000000000000
|
0000000000000000000000000000
|
||||||
}
|
}
|
||||||
BitmapAdv = {
|
|
||||||
4C6900000000
|
|
||||||
}
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Binary file not shown.
@ -1,11 +1,11 @@
|
|||||||
object Form2: TForm2
|
object Form2: TForm2
|
||||||
Left = 311
|
Left = 311
|
||||||
Height = 352
|
Height = 340
|
||||||
Top = 214
|
Top = 214
|
||||||
Width = 782
|
Width = 777
|
||||||
Caption = 'Form2'
|
Caption = 'Form2'
|
||||||
ClientHeight = 352
|
ClientHeight = 340
|
||||||
ClientWidth = 782
|
ClientWidth = 777
|
||||||
Color = clBtnFace
|
Color = clBtnFace
|
||||||
Font.Color = clWindowText
|
Font.Color = clWindowText
|
||||||
Font.Height = -11
|
Font.Height = -11
|
||||||
@ -14,7 +14,7 @@ object Form2: TForm2
|
|||||||
object SpkToolbar1: TSpkToolbar
|
object SpkToolbar1: TSpkToolbar
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 782
|
Width = 777
|
||||||
Color = clBtnFace
|
Color = clBtnFace
|
||||||
Appearance.Tab.TabHeaderFont.Color = 2763306
|
Appearance.Tab.TabHeaderFont.Color = 2763306
|
||||||
Appearance.Tab.BorderColor = 10921638
|
Appearance.Tab.BorderColor = 10921638
|
||||||
@ -105,8 +105,6 @@ object Form2: TForm2
|
|||||||
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
||||||
CustomAppearance.Element.Style = esRounded
|
CustomAppearance.Element.Style = esRounded
|
||||||
Caption = 'Narzedzia glówne'
|
Caption = 'Narzedzia glówne'
|
||||||
OverrideAppearance = False
|
|
||||||
Visible = True
|
|
||||||
Panes = (
|
Panes = (
|
||||||
'SpkPane2'
|
'SpkPane2'
|
||||||
'SpkPane3'
|
'SpkPane3'
|
||||||
@ -116,7 +114,6 @@ object Form2: TForm2
|
|||||||
)
|
)
|
||||||
object SpkPane2: TSpkPane
|
object SpkPane2: TSpkPane
|
||||||
Caption = 'Plik'
|
Caption = 'Plik'
|
||||||
Visible = True
|
|
||||||
Items = (
|
Items = (
|
||||||
'SpkLargeButton4'
|
'SpkLargeButton4'
|
||||||
'SpkSmallButton2'
|
'SpkSmallButton2'
|
||||||
@ -124,50 +121,31 @@ object Form2: TForm2
|
|||||||
'SpkSmallButton4'
|
'SpkSmallButton4'
|
||||||
)
|
)
|
||||||
object SpkLargeButton4: TSpkLargeButton
|
object SpkLargeButton4: TSpkLargeButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Nowy'
|
Caption = 'Nowy'
|
||||||
LargeImageIndex = 3
|
LargeImageIndex = 3
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
object SpkSmallButton2: TSpkSmallButton
|
object SpkSmallButton2: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Otwórz'
|
Caption = 'Otwórz'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = True
|
HideFrameWhenIdle = True
|
||||||
ImageIndex = 16
|
ImageIndex = 16
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
ButtonKind = bkButton
|
|
||||||
DropdownMenu = PopupMenu2
|
DropdownMenu = PopupMenu2
|
||||||
end
|
end
|
||||||
object SpkSmallButton3: TSpkSmallButton
|
object SpkSmallButton3: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Zapisz'
|
Caption = 'Zapisz'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = True
|
HideFrameWhenIdle = True
|
||||||
ImageIndex = 56
|
ImageIndex = 56
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
object SpkSmallButton4: TSpkSmallButton
|
object SpkSmallButton4: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Zapisz jako...'
|
Caption = 'Zapisz jako...'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = True
|
HideFrameWhenIdle = True
|
||||||
ImageIndex = 57
|
ImageIndex = 57
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object SpkPane3: TSpkPane
|
object SpkPane3: TSpkPane
|
||||||
Caption = 'Edycja'
|
Caption = 'Edycja'
|
||||||
Visible = True
|
|
||||||
Items = (
|
Items = (
|
||||||
'SpkSmallButton1'
|
'SpkSmallButton1'
|
||||||
'SpkSmallButton5'
|
'SpkSmallButton5'
|
||||||
@ -176,128 +154,81 @@ object Form2: TForm2
|
|||||||
'SpkSmallButton8'
|
'SpkSmallButton8'
|
||||||
)
|
)
|
||||||
object SpkSmallButton1: TSpkSmallButton
|
object SpkSmallButton1: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Button'
|
Caption = 'Button'
|
||||||
GroupBehaviour = gbBeginsGroup
|
GroupBehaviour = gbBeginsGroup
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 0
|
ImageIndex = 0
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
TableBehaviour = tbContinuesRow
|
|
||||||
ButtonKind = bkButtonDropdown
|
ButtonKind = bkButtonDropdown
|
||||||
DropdownMenu = PopupMenu2
|
DropdownMenu = PopupMenu2
|
||||||
end
|
end
|
||||||
object SpkSmallButton5: TSpkSmallButton
|
object SpkSmallButton5: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Button'
|
Caption = 'Button'
|
||||||
GroupBehaviour = gbEndsGroup
|
GroupBehaviour = gbEndsGroup
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 31
|
ImageIndex = 31
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
TableBehaviour = tbContinuesRow
|
|
||||||
ButtonKind = bkButtonDropdown
|
ButtonKind = bkButtonDropdown
|
||||||
DropdownMenu = PopupMenu2
|
DropdownMenu = PopupMenu2
|
||||||
end
|
end
|
||||||
object SpkSmallButton6: TSpkSmallButton
|
object SpkSmallButton6: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Button'
|
Caption = 'Button'
|
||||||
GroupBehaviour = gbBeginsGroup
|
GroupBehaviour = gbBeginsGroup
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 53
|
ImageIndex = 53
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
object SpkSmallButton7: TSpkSmallButton
|
object SpkSmallButton7: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Button'
|
Caption = 'Button'
|
||||||
GroupBehaviour = gbContinuesGroup
|
GroupBehaviour = gbContinuesGroup
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 51
|
ImageIndex = 51
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
TableBehaviour = tbContinuesRow
|
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
object SpkSmallButton8: TSpkSmallButton
|
object SpkSmallButton8: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Button'
|
Caption = 'Button'
|
||||||
GroupBehaviour = gbEndsGroup
|
GroupBehaviour = gbEndsGroup
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 11
|
ImageIndex = 11
|
||||||
ShowCaption = False
|
ShowCaption = False
|
||||||
TableBehaviour = tbContinuesRow
|
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object SpkPane4: TSpkPane
|
object SpkPane4: TSpkPane
|
||||||
Caption = 'Szukanie'
|
Caption = 'Szukanie'
|
||||||
Visible = True
|
|
||||||
Items = (
|
Items = (
|
||||||
'SpkLargeButton5'
|
'SpkLargeButton5'
|
||||||
'SpkSmallButton9'
|
'SpkSmallButton9'
|
||||||
'SpkSmallButton10'
|
'SpkSmallButton10'
|
||||||
)
|
)
|
||||||
object SpkLargeButton5: TSpkLargeButton
|
object SpkLargeButton5: TSpkLargeButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Szukaj'
|
Caption = 'Szukaj'
|
||||||
LargeImageIndex = 4
|
LargeImageIndex = 4
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
object SpkSmallButton9: TSpkSmallButton
|
object SpkSmallButton9: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Szukaj dalej'
|
Caption = 'Szukaj dalej'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 41
|
ImageIndex = 41
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbContinuesRow
|
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
object SpkSmallButton10: TSpkSmallButton
|
object SpkSmallButton10: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Zamień'
|
Caption = 'Zamień'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = False
|
|
||||||
ImageIndex = 55
|
ImageIndex = 55
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
object SpkPane1: TSpkPane
|
object SpkPane1: TSpkPane
|
||||||
Caption = 'Large buttons'
|
Caption = 'Large buttons'
|
||||||
Visible = True
|
|
||||||
Items = (
|
Items = (
|
||||||
'SpkLargeButton1'
|
'SpkLargeButton1'
|
||||||
'SpkLargeButton2'
|
'SpkLargeButton2'
|
||||||
'SpkLargeButton3'
|
'SpkLargeButton3'
|
||||||
)
|
)
|
||||||
object SpkLargeButton1: TSpkLargeButton
|
object SpkLargeButton1: TSpkLargeButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Button'
|
Caption = 'Button'
|
||||||
LargeImageIndex = 0
|
LargeImageIndex = 0
|
||||||
ButtonKind = bkButton
|
|
||||||
DropdownMenu = PopupMenu2
|
DropdownMenu = PopupMenu2
|
||||||
end
|
end
|
||||||
object SpkLargeButton2: TSpkLargeButton
|
object SpkLargeButton2: TSpkLargeButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'ButtonDropdown'
|
Caption = 'ButtonDropdown'
|
||||||
LargeImageIndex = 1
|
LargeImageIndex = 1
|
||||||
ButtonKind = bkButtonDropdown
|
ButtonKind = bkButtonDropdown
|
||||||
DropdownMenu = PopupMenu2
|
DropdownMenu = PopupMenu2
|
||||||
end
|
end
|
||||||
object SpkLargeButton3: TSpkLargeButton
|
object SpkLargeButton3: TSpkLargeButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Dropdown'
|
Caption = 'Dropdown'
|
||||||
LargeImageIndex = 2
|
LargeImageIndex = 2
|
||||||
ButtonKind = bkDropdown
|
ButtonKind = bkDropdown
|
||||||
@ -306,44 +237,29 @@ object Form2: TForm2
|
|||||||
end
|
end
|
||||||
object SpkPane6: TSpkPane
|
object SpkPane6: TSpkPane
|
||||||
Caption = 'Small buttons'
|
Caption = 'Small buttons'
|
||||||
Visible = True
|
|
||||||
Items = (
|
Items = (
|
||||||
'SpkSmallButton11'
|
'SpkSmallButton11'
|
||||||
'SpkSmallButton12'
|
'SpkSmallButton12'
|
||||||
'SpkSmallButton13'
|
'SpkSmallButton13'
|
||||||
)
|
)
|
||||||
object SpkSmallButton11: TSpkSmallButton
|
object SpkSmallButton11: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Button'
|
Caption = 'Button'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = True
|
HideFrameWhenIdle = True
|
||||||
ImageIndex = 20
|
ImageIndex = 20
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbContinuesRow
|
|
||||||
ButtonKind = bkButton
|
|
||||||
DropdownMenu = PopupMenu2
|
DropdownMenu = PopupMenu2
|
||||||
end
|
end
|
||||||
object SpkSmallButton12: TSpkSmallButton
|
object SpkSmallButton12: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'ButtonDropdown'
|
Caption = 'ButtonDropdown'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = True
|
HideFrameWhenIdle = True
|
||||||
ImageIndex = 21
|
ImageIndex = 21
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
ButtonKind = bkButtonDropdown
|
ButtonKind = bkButtonDropdown
|
||||||
DropdownMenu = PopupMenu2
|
DropdownMenu = PopupMenu2
|
||||||
end
|
end
|
||||||
object SpkSmallButton13: TSpkSmallButton
|
object SpkSmallButton13: TSpkSmallButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Dropdown'
|
Caption = 'Dropdown'
|
||||||
GroupBehaviour = gbSingleItem
|
|
||||||
HideFrameWhenIdle = True
|
HideFrameWhenIdle = True
|
||||||
ImageIndex = 22
|
ImageIndex = 22
|
||||||
ShowCaption = True
|
|
||||||
TableBehaviour = tbBeginsRow
|
TableBehaviour = tbBeginsRow
|
||||||
ButtonKind = bkDropdown
|
ButtonKind = bkDropdown
|
||||||
DropdownMenu = PopupMenu2
|
DropdownMenu = PopupMenu2
|
||||||
@ -395,40 +311,28 @@ object Form2: TForm2
|
|||||||
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
CustomAppearance.Element.ActiveCaptionColor = 8405614
|
||||||
CustomAppearance.Element.Style = esRounded
|
CustomAppearance.Element.Style = esRounded
|
||||||
Caption = 'Katalogi'
|
Caption = 'Katalogi'
|
||||||
OverrideAppearance = False
|
|
||||||
Visible = True
|
|
||||||
Panes = (
|
Panes = (
|
||||||
'SpkPane5'
|
'SpkPane5'
|
||||||
)
|
)
|
||||||
object SpkPane5: TSpkPane
|
object SpkPane5: TSpkPane
|
||||||
Caption = 'Tafla'
|
Caption = 'Tafla'
|
||||||
Visible = True
|
|
||||||
Items = (
|
Items = (
|
||||||
'SpkLargeButton6'
|
'SpkLargeButton6'
|
||||||
'SpkLargeButton7'
|
'SpkLargeButton7'
|
||||||
'SpkLargeButton8'
|
'SpkLargeButton8'
|
||||||
)
|
)
|
||||||
object SpkLargeButton6: TSpkLargeButton
|
object SpkLargeButton6: TSpkLargeButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Blender'
|
Caption = 'Blender'
|
||||||
LargeImageIndex = 2
|
LargeImageIndex = 2
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
object SpkLargeButton7: TSpkLargeButton
|
object SpkLargeButton7: TSpkLargeButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Dokumenty'
|
Caption = 'Dokumenty'
|
||||||
LargeImageIndex = 1
|
LargeImageIndex = 1
|
||||||
ButtonKind = bkButton
|
|
||||||
DropdownMenu = PopupMenu1
|
DropdownMenu = PopupMenu1
|
||||||
end
|
end
|
||||||
object SpkLargeButton8: TSpkLargeButton
|
object SpkLargeButton8: TSpkLargeButton
|
||||||
Visible = True
|
|
||||||
Enabled = True
|
|
||||||
Caption = 'Lazarus'
|
Caption = 'Lazarus'
|
||||||
LargeImageIndex = 0
|
LargeImageIndex = 0
|
||||||
ButtonKind = bkButton
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user