mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-19 04:49:40 +02:00
ide editors: improve anchoring
git-svn-id: trunk@17115 -
This commit is contained in:
parent
acfab690ae
commit
b25018e35e
@ -3,8 +3,6 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
||||
Height = 246
|
||||
Top = 179
|
||||
Width = 510
|
||||
HorzScrollBar.Page = 509
|
||||
VertScrollBar.Page = 245
|
||||
ActiveControl = BtnOK
|
||||
BorderIcons = [biSystemMenu, biHelp]
|
||||
Caption = 'ListView Items Editor'
|
||||
@ -13,63 +11,92 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
||||
Constraints.MinHeight = 200
|
||||
Constraints.MinWidth = 400
|
||||
OnCreate = FormCreate
|
||||
ParentFont = False
|
||||
Position = poScreenCenter
|
||||
LCLVersion = '0.9.27'
|
||||
object BtnOK: TBitBtn
|
||||
Left = 189
|
||||
Height = 25
|
||||
AnchorSideRight.Control = BtnCancel
|
||||
AnchorSideBottom.Control = Owner
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 184
|
||||
Height = 26
|
||||
Top = 214
|
||||
Width = 75
|
||||
Anchors = [akRight, akBottom]
|
||||
AutoSize = True
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&OK'
|
||||
Constraints.MinHeight = 25
|
||||
Constraints.MinWidth = 75
|
||||
Kind = bkOK
|
||||
ModalResult = 1
|
||||
NumGlyphs = 0
|
||||
TabOrder = 0
|
||||
end
|
||||
object BtnCancel: TBitBtn
|
||||
Left = 269
|
||||
Height = 25
|
||||
AnchorSideRight.Control = BtnApply
|
||||
AnchorSideBottom.Control = Owner
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 265
|
||||
Height = 26
|
||||
Top = 214
|
||||
Width = 75
|
||||
Width = 77
|
||||
Anchors = [akRight, akBottom]
|
||||
AutoSize = True
|
||||
BorderSpacing.Around = 6
|
||||
Cancel = True
|
||||
Caption = 'Cancel'
|
||||
Constraints.MinHeight = 25
|
||||
Constraints.MinWidth = 75
|
||||
Kind = bkCancel
|
||||
ModalResult = 2
|
||||
NumGlyphs = 0
|
||||
TabOrder = 1
|
||||
end
|
||||
object BtnApply: TBitBtn
|
||||
Left = 349
|
||||
AnchorSideRight.Control = BtnHelp
|
||||
AnchorSideBottom.Control = Owner
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 348
|
||||
Height = 25
|
||||
Top = 214
|
||||
Top = 215
|
||||
Width = 75
|
||||
Anchors = [akRight, akBottom]
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&Apply'
|
||||
NumGlyphs = 0
|
||||
OnClick = btnApplyClick
|
||||
TabOrder = 2
|
||||
end
|
||||
object BtnHelp: TBitBtn
|
||||
AnchorSideRight.Control = Owner
|
||||
AnchorSideRight.Side = asrBottom
|
||||
AnchorSideBottom.Control = Owner
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 429
|
||||
Height = 25
|
||||
Top = 214
|
||||
Top = 215
|
||||
Width = 75
|
||||
Anchors = [akRight, akBottom]
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&Help'
|
||||
Kind = bkHelp
|
||||
NumGlyphs = 0
|
||||
TabOrder = 3
|
||||
end
|
||||
object GroupBox1: TGroupBox
|
||||
Left = 8
|
||||
Height = 198
|
||||
Top = 8
|
||||
Width = 293
|
||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||
AnchorSideLeft.Control = Owner
|
||||
AnchorSideTop.Control = Owner
|
||||
AnchorSideBottom.Control = BtnOK
|
||||
Left = 6
|
||||
Height = 202
|
||||
Top = 6
|
||||
Width = 295
|
||||
Anchors = [akTop, akLeft, akBottom]
|
||||
BorderSpacing.Around = 6
|
||||
Caption = 'Items'
|
||||
ClientHeight = 179
|
||||
ClientWidth = 289
|
||||
ClientHeight = 184
|
||||
ClientWidth = 291
|
||||
TabOrder = 4
|
||||
object TreeView1: TTreeView
|
||||
AnchorSideLeft.Control = GroupBox1
|
||||
@ -77,14 +104,14 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
||||
AnchorSideBottom.Control = GroupBox1
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 5
|
||||
Height = 169
|
||||
Height = 174
|
||||
Top = 5
|
||||
Width = 158
|
||||
Width = 160
|
||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||
BorderSpacing.Left = 5
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Bottom = 5
|
||||
DefaultItemHeight = 19
|
||||
DefaultItemHeight = 15
|
||||
HideSelection = False
|
||||
TabOrder = 0
|
||||
OnSelectionChanged = TreeView1SelectionChanged
|
||||
@ -97,71 +124,78 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
||||
AnchorSideTop.Control = GroupBox1
|
||||
AnchorSideRight.Control = GroupBox1
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 168
|
||||
Left = 171
|
||||
Height = 25
|
||||
Top = 5
|
||||
Width = 116
|
||||
Top = 6
|
||||
Width = 114
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
BorderSpacing.Left = 5
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Right = 5
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&New Item'
|
||||
Default = True
|
||||
OnClick = BtnNewItemClick
|
||||
TabOrder = 1
|
||||
end
|
||||
object BtnNewSubItem: TButton
|
||||
AnchorSideLeft.Control = BtnNewItem
|
||||
AnchorSideLeft.Control = TreeView1
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideTop.Control = BtnNewItem
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideRight.Control = BtnNewItem
|
||||
AnchorSideRight.Control = GroupBox1
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 168
|
||||
Left = 171
|
||||
Height = 25
|
||||
Top = 35
|
||||
Width = 116
|
||||
Top = 37
|
||||
Width = 114
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Around = 6
|
||||
Caption = 'N&ew SubItem'
|
||||
OnClick = BtnNewItemClick
|
||||
TabOrder = 2
|
||||
end
|
||||
object BtnDelete: TButton
|
||||
AnchorSideLeft.Control = BtnNewSubItem
|
||||
AnchorSideLeft.Control = TreeView1
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideTop.Control = BtnNewSubItem
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideRight.Control = BtnNewSubItem
|
||||
AnchorSideRight.Control = GroupBox1
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 168
|
||||
Left = 171
|
||||
Height = 25
|
||||
Top = 65
|
||||
Width = 116
|
||||
Top = 68
|
||||
Width = 114
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&Delete'
|
||||
OnClick = btnDeleteClick
|
||||
TabOrder = 3
|
||||
end
|
||||
end
|
||||
object GroupBox2: TGroupBox
|
||||
Left = 299
|
||||
Height = 198
|
||||
Top = 8
|
||||
Width = 205
|
||||
Anchors = [akTop, akRight, akBottom]
|
||||
AnchorSideLeft.Control = GroupBox1
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideTop.Control = Owner
|
||||
AnchorSideRight.Control = Owner
|
||||
AnchorSideRight.Side = asrBottom
|
||||
AnchorSideBottom.Control = BtnOK
|
||||
Left = 307
|
||||
Height = 202
|
||||
Top = 6
|
||||
Width = 197
|
||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||
BorderSpacing.Around = 6
|
||||
Caption = 'Item Properties'
|
||||
ClientHeight = 179
|
||||
ClientWidth = 201
|
||||
ClientHeight = 184
|
||||
ClientWidth = 193
|
||||
TabOrder = 5
|
||||
object LabelCaption: TLabel
|
||||
AnchorSideLeft.Control = GroupBox2
|
||||
AnchorSideTop.Control = GroupBox2
|
||||
Left = 5
|
||||
Left = 6
|
||||
Height = 14
|
||||
Top = 5
|
||||
Top = 6
|
||||
Width = 42
|
||||
BorderSpacing.Left = 5
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Left = 6
|
||||
BorderSpacing.Top = 6
|
||||
Caption = 'Caption:'
|
||||
FocusControl = edtText
|
||||
ParentColor = False
|
||||
@ -170,11 +204,11 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
||||
AnchorSideLeft.Control = LabelCaption
|
||||
AnchorSideTop.Control = edtText
|
||||
AnchorSideTop.Side = asrBottom
|
||||
Left = 5
|
||||
Left = 6
|
||||
Height = 14
|
||||
Top = 49
|
||||
Top = 51
|
||||
Width = 66
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Top = 6
|
||||
Caption = 'Image Index:'
|
||||
FocusControl = edtIndexImg
|
||||
ParentColor = False
|
||||
@ -183,11 +217,11 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
||||
AnchorSideLeft.Control = LabelImageIndex
|
||||
AnchorSideTop.Control = edtIndexImg
|
||||
AnchorSideTop.Side = asrBottom
|
||||
Left = 5
|
||||
Left = 6
|
||||
Height = 14
|
||||
Top = 93
|
||||
Top = 96
|
||||
Width = 62
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Top = 6
|
||||
Caption = 'State Index:'
|
||||
FocusControl = edtIndexState
|
||||
ParentColor = False
|
||||
@ -199,10 +233,10 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideRight.Control = GroupBox2
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 5
|
||||
Left = 6
|
||||
Height = 23
|
||||
Top = 21
|
||||
Width = 191
|
||||
Top = 22
|
||||
Width = 182
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
BorderSpacing.Top = 2
|
||||
BorderSpacing.Right = 5
|
||||
@ -213,9 +247,9 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
||||
AnchorSideLeft.Control = edtText
|
||||
AnchorSideTop.Control = LabelImageIndex
|
||||
AnchorSideTop.Side = asrBottom
|
||||
Left = 5
|
||||
Left = 6
|
||||
Height = 23
|
||||
Top = 65
|
||||
Top = 67
|
||||
Width = 48
|
||||
BorderSpacing.Top = 2
|
||||
OnEditingDone = edtIndexStateEditingDone
|
||||
@ -225,9 +259,9 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
||||
AnchorSideLeft.Control = edtIndexImg
|
||||
AnchorSideTop.Control = LabelStateIndex
|
||||
AnchorSideTop.Side = asrBottom
|
||||
Left = 5
|
||||
Left = 6
|
||||
Height = 23
|
||||
Top = 109
|
||||
Top = 112
|
||||
Width = 48
|
||||
BorderSpacing.Top = 2
|
||||
OnEditingDone = edtIndexStateEditingDone
|
||||
|
@ -2,82 +2,97 @@
|
||||
|
||||
LazarusResources.Add('TListViewItemsEditorForm','FORMDATA',[
|
||||
'TPF0'#24'TListViewItemsEditorForm'#23'ListViewItemsEditorForm'#4'Left'#3'%'#1
|
||||
+#6'Height'#3#246#0#3'Top'#3#179#0#5'Width'#3#254#1#18'HorzScrollBar.Page'#3
|
||||
+#253#1#18'VertScrollBar.Page'#3#245#0#13'ActiveControl'#7#5'BtnOK'#11'Border'
|
||||
+'Icons'#11#12'biSystemMenu'#6'biHelp'#0#7'Caption'#6#21'ListView Items Edito'
|
||||
+'r'#12'ClientHeight'#3#246#0#11'ClientWidth'#3#254#1#21'Constraints.MinHeigh'
|
||||
+'t'#3#200#0#20'Constraints.MinWidth'#3#144#1#8'OnCreate'#7#10'FormCreate'#8
|
||||
+'Position'#7#14'poScreenCenter'#0#7'TBitBtn'#5'BtnOK'#4'Left'#3#189#0#6'Heig'
|
||||
+'ht'#2#25#3'Top'#3#214#0#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0
|
||||
+#7'Caption'#6#3'&OK'#4'Kind'#7#4'bkOK'#11'ModalResult'#2#1#9'NumGlyphs'#2#0#8
|
||||
+'TabOrder'#2#0#0#0#7'TBitBtn'#9'BtnCancel'#4'Left'#3#13#1#6'Height'#2#25#3'T'
|
||||
+'op'#3#214#0#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#6'Cancel'#9
|
||||
+#7'Caption'#6#6'Cancel'#4'Kind'#7#8'bkCancel'#11'ModalResult'#2#2#9'NumGlyph'
|
||||
+'s'#2#0#8'TabOrder'#2#1#0#0#7'TBitBtn'#8'BtnApply'#4'Left'#3']'#1#6'Height'#2
|
||||
+#25#3'Top'#3#214#0#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Ca'
|
||||
+'ption'#6#6'&Apply'#9'NumGlyphs'#2#0#7'OnClick'#7#13'btnApplyClick'#8'TabOrd'
|
||||
+'er'#2#2#0#0#7'TBitBtn'#7'BtnHelp'#4'Left'#3#173#1#6'Height'#2#25#3'Top'#3
|
||||
+#214#0#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#7'Caption'#6#5'&'
|
||||
+'Help'#4'Kind'#7#6'bkHelp'#9'NumGlyphs'#2#0#8'TabOrder'#2#3#0#0#9'TGroupBox'
|
||||
+#9'GroupBox1'#4'Left'#2#8#6'Height'#3#198#0#3'Top'#2#8#5'Width'#3'%'#1#7'Anc'
|
||||
+'hors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#7'Caption'#6#5'Items'
|
||||
+#12'ClientHeight'#3#179#0#11'ClientWidth'#3'!'#1#8'TabOrder'#2#4#0#9'TTreeVi'
|
||||
+#6'Height'#3#246#0#3'Top'#3#179#0#5'Width'#3#254#1#13'ActiveControl'#7#5'Btn'
|
||||
+'OK'#11'BorderIcons'#11#12'biSystemMenu'#6'biHelp'#0#7'Caption'#6#21'ListVie'
|
||||
+'w Items Editor'#12'ClientHeight'#3#246#0#11'ClientWidth'#3#254#1#21'Constra'
|
||||
+'ints.MinHeight'#3#200#0#20'Constraints.MinWidth'#3#144#1#8'OnCreate'#7#10'F'
|
||||
+'ormCreate'#10'ParentFont'#8#8'Position'#7#14'poScreenCenter'#10'LCLVersion'
|
||||
+#6#6'0.9.27'#0#7'TBitBtn'#5'BtnOK'#23'AnchorSideRight.Control'#7#9'BtnCancel'
|
||||
+#24'AnchorSideBottom.Control'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBo'
|
||||
+'ttom'#4'Left'#3#184#0#6'Height'#2#26#3'Top'#3#214#0#5'Width'#2'K'#7'Anchors'
|
||||
+#11#7'akRight'#8'akBottom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Ca'
|
||||
+'ption'#6#3'&OK'#21'Constraints.MinHeight'#2#25#20'Constraints.MinWidth'#2'K'
|
||||
+#4'Kind'#7#4'bkOK'#11'ModalResult'#2#1#9'NumGlyphs'#2#0#8'TabOrder'#2#0#0#0#7
|
||||
+'TBitBtn'#9'BtnCancel'#23'AnchorSideRight.Control'#7#8'BtnApply'#24'AnchorSi'
|
||||
+'deBottom.Control'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Lef'
|
||||
+'t'#3#9#1#6'Height'#2#26#3'Top'#3#214#0#5'Width'#2'M'#7'Anchors'#11#7'akRigh'
|
||||
+'t'#8'akBottom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#6'Cancel'#9#7'C'
|
||||
+'aption'#6#6'Cancel'#21'Constraints.MinHeight'#2#25#20'Constraints.MinWidth'
|
||||
+#2'K'#4'Kind'#7#8'bkCancel'#11'ModalResult'#2#2#9'NumGlyphs'#2#0#8'TabOrder'
|
||||
+#2#1#0#0#7'TBitBtn'#8'BtnApply'#23'AnchorSideRight.Control'#7#7'BtnHelp'#24
|
||||
+'AnchorSideBottom.Control'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBotto'
|
||||
+'m'#4'Left'#3'\'#1#6'Height'#2#25#3'Top'#3#215#0#5'Width'#2'K'#7'Anchors'#11
|
||||
+#7'akRight'#8'akBottom'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#6'&Apply'
|
||||
+#9'NumGlyphs'#2#0#7'OnClick'#7#13'btnApplyClick'#8'TabOrder'#2#2#0#0#7'TBitB'
|
||||
+'tn'#7'BtnHelp'#23'AnchorSideRight.Control'#7#5'Owner'#20'AnchorSideRight.Si'
|
||||
+'de'#7#9'asrBottom'#24'AnchorSideBottom.Control'#7#5'Owner'#21'AnchorSideBot'
|
||||
+'tom.Side'#7#9'asrBottom'#4'Left'#3#173#1#6'Height'#2#25#3'Top'#3#215#0#5'Wi'
|
||||
+'dth'#2'K'#7'Anchors'#11#7'akRight'#8'akBottom'#0#20'BorderSpacing.Around'#2
|
||||
+#6#7'Caption'#6#5'&Help'#4'Kind'#7#6'bkHelp'#9'NumGlyphs'#2#0#8'TabOrder'#2#3
|
||||
+#0#0#9'TGroupBox'#9'GroupBox1'#22'AnchorSideLeft.Control'#7#5'Owner'#21'Anch'
|
||||
+'orSideTop.Control'#7#5'Owner'#24'AnchorSideBottom.Control'#7#5'BtnOK'#4'Lef'
|
||||
+'t'#2#6#6'Height'#3#202#0#3'Top'#2#6#5'Width'#3''''#1#7'Anchors'#11#5'akTop'
|
||||
+#6'akLeft'#8'akBottom'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#5'Items'
|
||||
+#12'ClientHeight'#3#184#0#11'ClientWidth'#3'#'#1#8'TabOrder'#2#4#0#9'TTreeVi'
|
||||
+'ew'#9'TreeView1'#22'AnchorSideLeft.Control'#7#9'GroupBox1'#21'AnchorSideTop'
|
||||
+'.Control'#7#9'GroupBox1'#24'AnchorSideBottom.Control'#7#9'GroupBox1'#21'Anc'
|
||||
+'horSideBottom.Side'#7#9'asrBottom'#4'Left'#2#5#6'Height'#3#169#0#3'Top'#2#5
|
||||
+#5'Width'#3#158#0#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0
|
||||
+'horSideBottom.Side'#7#9'asrBottom'#4'Left'#2#5#6'Height'#3#174#0#3'Top'#2#5
|
||||
+#5'Width'#3#160#0#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0
|
||||
+#18'BorderSpacing.Left'#2#5#17'BorderSpacing.Top'#2#5#20'BorderSpacing.Botto'
|
||||
+'m'#2#5#17'DefaultItemHeight'#2#19#13'HideSelection'#8#8'TabOrder'#2#0#18'On'
|
||||
+'m'#2#5#17'DefaultItemHeight'#2#15#13'HideSelection'#8#8'TabOrder'#2#0#18'On'
|
||||
+'SelectionChanged'#7#25'TreeView1SelectionChanged'#7'Options'#11#17'tvoAutoI'
|
||||
+'temHeight'#21'tvoKeepCollapsedNodes'#14'tvoShowButtons'#12'tvoShowLines'#11
|
||||
+'tvoShowRoot'#11'tvoToolTips'#0#0#0#7'TButton'#10'BtnNewItem'#3'Tag'#2#1#22
|
||||
+'AnchorSideLeft.Control'#7#9'TreeView1'#19'AnchorSideLeft.Side'#7#9'asrBotto'
|
||||
+'m'#21'AnchorSideTop.Control'#7#9'GroupBox1'#23'AnchorSideRight.Control'#7#9
|
||||
+'GroupBox1'#20'AnchorSideRight.Side'#7#9'asrBottom'#4'Left'#3#168#0#6'Height'
|
||||
+#2#25#3'Top'#2#5#5'Width'#2't'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0
|
||||
+#18'BorderSpacing.Left'#2#5#17'BorderSpacing.Top'#2#5#19'BorderSpacing.Right'
|
||||
+#2#5#7'Caption'#6#9'&New Item'#7'Default'#9#7'OnClick'#7#15'BtnNewItemClick'
|
||||
+#8'TabOrder'#2#1#0#0#7'TButton'#13'BtnNewSubItem'#22'AnchorSideLeft.Control'
|
||||
+#7#10'BtnNewItem'#21'AnchorSideTop.Control'#7#10'BtnNewItem'#18'AnchorSideTo'
|
||||
+'p.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#10'BtnNewItem'#20'Anch'
|
||||
+'orSideRight.Side'#7#9'asrBottom'#4'Left'#3#168#0#6'Height'#2#25#3'Top'#2'#'
|
||||
+#5'Width'#2't'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#17'BorderSpacin'
|
||||
+'g.Top'#2#5#7'Caption'#6#12'N&ew SubItem'#7'OnClick'#7#15'BtnNewItemClick'#8
|
||||
+'TabOrder'#2#2#0#0#7'TButton'#9'BtnDelete'#22'AnchorSideLeft.Control'#7#13'B'
|
||||
+'tnNewSubItem'#21'AnchorSideTop.Control'#7#13'BtnNewSubItem'#18'AnchorSideTo'
|
||||
+'p.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#13'BtnNewSubItem'#20'A'
|
||||
+'nchorSideRight.Side'#7#9'asrBottom'#4'Left'#3#168#0#6'Height'#2#25#3'Top'#2
|
||||
+'A'#5'Width'#2't'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#17'BorderSpa'
|
||||
+'cing.Top'#2#5#7'Caption'#6#7'&Delete'#7'OnClick'#7#14'btnDeleteClick'#8'Tab'
|
||||
+'Order'#2#3#0#0#0#9'TGroupBox'#9'GroupBox2'#4'Left'#3'+'#1#6'Height'#3#198#0
|
||||
+#3'Top'#2#8#5'Width'#3#205#0#7'Anchors'#11#5'akTop'#7'akRight'#8'akBottom'#0
|
||||
+#7'Caption'#6#15'Item Properties'#12'ClientHeight'#3#179#0#11'ClientWidth'#3
|
||||
+#201#0#8'TabOrder'#2#5#0#6'TLabel'#12'LabelCaption'#22'AnchorSideLeft.Contro'
|
||||
+'l'#7#9'GroupBox2'#21'AnchorSideTop.Control'#7#9'GroupBox2'#4'Left'#2#5#6'He'
|
||||
+'ight'#2#14#3'Top'#2#5#5'Width'#2'*'#18'BorderSpacing.Left'#2#5#17'BorderSpa'
|
||||
+'cing.Top'#2#5#7'Caption'#6#8'Caption:'#12'FocusControl'#7#7'edtText'#11'Par'
|
||||
+'entColor'#8#0#0#6'TLabel'#15'LabelImageIndex'#22'AnchorSideLeft.Control'#7
|
||||
+#12'LabelCaption'#21'AnchorSideTop.Control'#7#7'edtText'#18'AnchorSideTop.Si'
|
||||
+'de'#7#9'asrBottom'#4'Left'#2#5#6'Height'#2#14#3'Top'#2'1'#5'Width'#2'B'#17
|
||||
+'BorderSpacing.Top'#2#5#7'Caption'#6#12'Image Index:'#12'FocusControl'#7#11
|
||||
+'edtIndexImg'#11'ParentColor'#8#0#0#6'TLabel'#15'LabelStateIndex'#22'AnchorS'
|
||||
+'ideLeft.Control'#7#15'LabelImageIndex'#21'AnchorSideTop.Control'#7#11'edtIn'
|
||||
+'dexImg'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#5#6'Height'#2#14#3
|
||||
+'Top'#2']'#5'Width'#2'>'#17'BorderSpacing.Top'#2#5#7'Caption'#6#12'State Ind'
|
||||
+'ex:'#12'FocusControl'#7#13'edtIndexState'#11'ParentColor'#8#7'Visible'#8#0#0
|
||||
,#5'TEdit'#7'edtText'#22'AnchorSideLeft.Control'#7#12'LabelCaption'#21'Anchor'
|
||||
+'SideTop.Control'#7#12'LabelCaption'#18'AnchorSideTop.Side'#7#9'asrBottom'#23
|
||||
+'AnchorSideRight.Control'#7#9'GroupBox2'#20'AnchorSideRight.Side'#7#9'asrBot'
|
||||
+'tom'#4'Left'#2#5#6'Height'#2#23#3'Top'#2#21#5'Width'#3#191#0#7'Anchors'#11#5
|
||||
+'akTop'#6'akLeft'#7'akRight'#0#17'BorderSpacing.Top'#2#2#19'BorderSpacing.Ri'
|
||||
+'ght'#2#5#8'OnChange'#7#11'Edit1Change'#8'TabOrder'#2#0#0#0#5'TEdit'#11'edtI'
|
||||
+'ndexImg'#22'AnchorSideLeft.Control'#7#7'edtText'#21'AnchorSideTop.Control'#7
|
||||
+#15'LabelImageIndex'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#5#6'Hei'
|
||||
+'ght'#2#23#3'Top'#2'A'#5'Width'#2'0'#17'BorderSpacing.Top'#2#2#13'OnEditingD'
|
||||
+'one'#7#24'edtIndexStateEditingDone'#8'TabOrder'#2#1#0#0#5'TEdit'#13'edtInde'
|
||||
+'xState'#22'AnchorSideLeft.Control'#7#11'edtIndexImg'#21'AnchorSideTop.Contr'
|
||||
+'ol'#7#15'LabelStateIndex'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#5
|
||||
+#6'Height'#2#23#3'Top'#2'm'#5'Width'#2'0'#17'BorderSpacing.Top'#2#2#13'OnEdi'
|
||||
+'tingDone'#7#24'edtIndexStateEditingDone'#8'TabOrder'#2#2#7'Visible'#8#0#0#0
|
||||
+#0
|
||||
+'GroupBox1'#20'AnchorSideRight.Side'#7#9'asrBottom'#4'Left'#3#171#0#6'Height'
|
||||
+#2#25#3'Top'#2#6#5'Width'#2'r'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0
|
||||
+#20'BorderSpacing.Around'#2#6#7'Caption'#6#9'&New Item'#7'Default'#9#7'OnCli'
|
||||
+'ck'#7#15'BtnNewItemClick'#8'TabOrder'#2#1#0#0#7'TButton'#13'BtnNewSubItem'
|
||||
+#22'AnchorSideLeft.Control'#7#9'TreeView1'#19'AnchorSideLeft.Side'#7#9'asrBo'
|
||||
+'ttom'#21'AnchorSideTop.Control'#7#10'BtnNewItem'#18'AnchorSideTop.Side'#7#9
|
||||
+'asrBottom'#23'AnchorSideRight.Control'#7#9'GroupBox1'#20'AnchorSideRight.Si'
|
||||
+'de'#7#9'asrBottom'#4'Left'#3#171#0#6'Height'#2#25#3'Top'#2'%'#5'Width'#2'r'
|
||||
+#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#20'BorderSpacing.Around'#2#6#7
|
||||
+'Caption'#6#12'N&ew SubItem'#7'OnClick'#7#15'BtnNewItemClick'#8'TabOrder'#2#2
|
||||
+#0#0#7'TButton'#9'BtnDelete'#22'AnchorSideLeft.Control'#7#9'TreeView1'#19'An'
|
||||
+'chorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#13'BtnNewSubI'
|
||||
+'tem'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#9
|
||||
+'GroupBox1'#20'AnchorSideRight.Side'#7#9'asrBottom'#4'Left'#3#171#0#6'Height'
|
||||
+#2#25#3'Top'#2'D'#5'Width'#2'r'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0
|
||||
+#20'BorderSpacing.Around'#2#6#7'Caption'#6#7'&Delete'#7'OnClick'#7#14'btnDel'
|
||||
+'eteClick'#8'TabOrder'#2#3#0#0#0#9'TGroupBox'#9'GroupBox2'#22'AnchorSideLeft'
|
||||
+'.Control'#7#9'GroupBox1'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSi'
|
||||
+'deTop.Control'#7#5'Owner'#23'AnchorSideRight.Control'#7#5'Owner'#20'AnchorS'
|
||||
+'ideRight.Side'#7#9'asrBottom'#24'AnchorSideBottom.Control'#7#5'BtnOK'#4'Lef'
|
||||
,'t'#3'3'#1#6'Height'#3#202#0#3'Top'#2#6#5'Width'#3#197#0#7'Anchors'#11#5'akT'
|
||||
+'op'#6'akLeft'#7'akRight'#8'akBottom'#0#20'BorderSpacing.Around'#2#6#7'Capti'
|
||||
+'on'#6#15'Item Properties'#12'ClientHeight'#3#184#0#11'ClientWidth'#3#193#0#8
|
||||
+'TabOrder'#2#5#0#6'TLabel'#12'LabelCaption'#22'AnchorSideLeft.Control'#7#9'G'
|
||||
+'roupBox2'#21'AnchorSideTop.Control'#7#9'GroupBox2'#4'Left'#2#6#6'Height'#2
|
||||
+#14#3'Top'#2#6#5'Width'#2'*'#18'BorderSpacing.Left'#2#6#17'BorderSpacing.Top'
|
||||
+#2#6#7'Caption'#6#8'Caption:'#12'FocusControl'#7#7'edtText'#11'ParentColor'#8
|
||||
+#0#0#6'TLabel'#15'LabelImageIndex'#22'AnchorSideLeft.Control'#7#12'LabelCapt'
|
||||
+'ion'#21'AnchorSideTop.Control'#7#7'edtText'#18'AnchorSideTop.Side'#7#9'asrB'
|
||||
+'ottom'#4'Left'#2#6#6'Height'#2#14#3'Top'#2'3'#5'Width'#2'B'#17'BorderSpacin'
|
||||
+'g.Top'#2#6#7'Caption'#6#12'Image Index:'#12'FocusControl'#7#11'edtIndexImg'
|
||||
+#11'ParentColor'#8#0#0#6'TLabel'#15'LabelStateIndex'#22'AnchorSideLeft.Contr'
|
||||
+'ol'#7#15'LabelImageIndex'#21'AnchorSideTop.Control'#7#11'edtIndexImg'#18'An'
|
||||
+'chorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#14#3'Top'#2'`'#5'W'
|
||||
+'idth'#2'>'#17'BorderSpacing.Top'#2#6#7'Caption'#6#12'State Index:'#12'Focus'
|
||||
+'Control'#7#13'edtIndexState'#11'ParentColor'#8#7'Visible'#8#0#0#5'TEdit'#7
|
||||
+'edtText'#22'AnchorSideLeft.Control'#7#12'LabelCaption'#21'AnchorSideTop.Con'
|
||||
+'trol'#7#12'LabelCaption'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSid'
|
||||
+'eRight.Control'#7#9'GroupBox2'#20'AnchorSideRight.Side'#7#9'asrBottom'#4'Le'
|
||||
+'ft'#2#6#6'Height'#2#23#3'Top'#2#22#5'Width'#3#182#0#7'Anchors'#11#5'akTop'#6
|
||||
+'akLeft'#7'akRight'#0#17'BorderSpacing.Top'#2#2#19'BorderSpacing.Right'#2#5#8
|
||||
+'OnChange'#7#11'Edit1Change'#8'TabOrder'#2#0#0#0#5'TEdit'#11'edtIndexImg'#22
|
||||
+'AnchorSideLeft.Control'#7#7'edtText'#21'AnchorSideTop.Control'#7#15'LabelIm'
|
||||
+'ageIndex'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#23#3
|
||||
+'Top'#2'C'#5'Width'#2'0'#17'BorderSpacing.Top'#2#2#13'OnEditingDone'#7#24'ed'
|
||||
+'tIndexStateEditingDone'#8'TabOrder'#2#1#0#0#5'TEdit'#13'edtIndexState'#22'A'
|
||||
+'nchorSideLeft.Control'#7#11'edtIndexImg'#21'AnchorSideTop.Control'#7#15'Lab'
|
||||
+'elStateIndex'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2
|
||||
+#23#3'Top'#2'p'#5'Width'#2'0'#17'BorderSpacing.Top'#2#2#13'OnEditingDone'#7
|
||||
+#24'edtIndexStateEditingDone'#8'TabOrder'#2#2#7'Visible'#8#0#0#0#0
|
||||
]);
|
||||
|
@ -10,16 +10,22 @@ object TreeViewItemsEditorForm: TTreeViewItemsEditorForm
|
||||
Constraints.MinHeight = 240
|
||||
Constraints.MinWidth = 400
|
||||
OnCreate = FormCreate
|
||||
ParentFont = False
|
||||
Position = poScreenCenter
|
||||
LCLVersion = '0.9.25'
|
||||
LCLVersion = '0.9.27'
|
||||
object GroupBox1: TGroupBox
|
||||
Height = 270
|
||||
Width = 327
|
||||
Align = alLeft
|
||||
AnchorSideLeft.Control = Owner
|
||||
AnchorSideTop.Control = Owner
|
||||
AnchorSideBottom.Control = BtnOK
|
||||
Left = 6
|
||||
Height = 276
|
||||
Top = 6
|
||||
Width = 321
|
||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||
BorderSpacing.Around = 6
|
||||
Caption = 'Items'
|
||||
ClientHeight = 251
|
||||
ClientWidth = 323
|
||||
ClientHeight = 258
|
||||
ClientWidth = 317
|
||||
TabOrder = 0
|
||||
object TreeView1: TTreeView
|
||||
AnchorSideLeft.Control = GroupBox1
|
||||
@ -27,14 +33,14 @@ object TreeViewItemsEditorForm: TTreeViewItemsEditorForm
|
||||
AnchorSideBottom.Control = GroupBox1
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 5
|
||||
Height = 241
|
||||
Height = 248
|
||||
Top = 5
|
||||
Width = 200
|
||||
Width = 194
|
||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||
BorderSpacing.Left = 5
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Bottom = 5
|
||||
DefaultItemHeight = 19
|
||||
DefaultItemHeight = 15
|
||||
HideSelection = False
|
||||
TabOrder = 0
|
||||
OnSelectionChanged = TreeView1SelectionChanged
|
||||
@ -47,102 +53,112 @@ object TreeViewItemsEditorForm: TTreeViewItemsEditorForm
|
||||
AnchorSideTop.Control = GroupBox1
|
||||
AnchorSideRight.Control = GroupBox1
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 210
|
||||
Left = 205
|
||||
Height = 25
|
||||
Top = 5
|
||||
Width = 108
|
||||
Top = 6
|
||||
Width = 106
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
BorderSpacing.Left = 5
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Right = 5
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&New Item'
|
||||
Default = True
|
||||
OnClick = BtnNewItemClick
|
||||
TabOrder = 1
|
||||
end
|
||||
object BtnNewSubItem: TButton
|
||||
AnchorSideLeft.Control = BtnNewItem
|
||||
AnchorSideLeft.Control = TreeView1
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideTop.Control = BtnNewItem
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideRight.Control = BtnNewItem
|
||||
AnchorSideRight.Control = GroupBox1
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 210
|
||||
Left = 205
|
||||
Height = 25
|
||||
Top = 35
|
||||
Width = 108
|
||||
Top = 37
|
||||
Width = 106
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Around = 6
|
||||
Caption = 'N&ew SubItem'
|
||||
OnClick = BtnNewItemClick
|
||||
TabOrder = 2
|
||||
end
|
||||
object BtnDelete: TButton
|
||||
AnchorSideLeft.Control = BtnNewSubItem
|
||||
AnchorSideLeft.Control = TreeView1
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideTop.Control = BtnNewSubItem
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideRight.Control = BtnNewSubItem
|
||||
AnchorSideRight.Control = GroupBox1
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 210
|
||||
Left = 205
|
||||
Height = 25
|
||||
Top = 65
|
||||
Width = 108
|
||||
Top = 68
|
||||
Width = 106
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&Delete'
|
||||
OnClick = btnDeleteClick
|
||||
TabOrder = 3
|
||||
end
|
||||
object BtnLoad: TButton
|
||||
AnchorSideLeft.Control = BtnDelete
|
||||
AnchorSideLeft.Control = TreeView1
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideTop.Control = BtnDelete
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideRight.Control = BtnDelete
|
||||
AnchorSideRight.Control = GroupBox1
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 210
|
||||
Left = 205
|
||||
Height = 25
|
||||
Top = 95
|
||||
Width = 108
|
||||
Top = 99
|
||||
Width = 106
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&Load'
|
||||
OnClick = btnLoadClick
|
||||
TabOrder = 4
|
||||
end
|
||||
object BtnSave: TButton
|
||||
AnchorSideLeft.Control = BtnLoad
|
||||
AnchorSideLeft.Control = TreeView1
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideTop.Control = BtnLoad
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideRight.Control = BtnLoad
|
||||
AnchorSideRight.Control = GroupBox1
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 210
|
||||
Left = 205
|
||||
Height = 25
|
||||
Top = 125
|
||||
Width = 108
|
||||
Top = 130
|
||||
Width = 106
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
BorderSpacing.Top = 5
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&Save'
|
||||
OnClick = btnSaveClick
|
||||
TabOrder = 5
|
||||
end
|
||||
end
|
||||
object GroupBox2: TGroupBox
|
||||
Left = 331
|
||||
Height = 270
|
||||
Width = 205
|
||||
Align = alRight
|
||||
AnchorSideLeft.Control = GroupBox1
|
||||
AnchorSideLeft.Side = asrBottom
|
||||
AnchorSideTop.Control = Owner
|
||||
AnchorSideRight.Control = Owner
|
||||
AnchorSideRight.Side = asrBottom
|
||||
AnchorSideBottom.Control = BtnOK
|
||||
Left = 333
|
||||
Height = 276
|
||||
Top = 6
|
||||
Width = 197
|
||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||
BorderSpacing.Around = 6
|
||||
Caption = 'Item Properties'
|
||||
ClientHeight = 251
|
||||
ClientWidth = 201
|
||||
ClientHeight = 258
|
||||
ClientWidth = 193
|
||||
TabOrder = 1
|
||||
object LabelText: TLabel
|
||||
AnchorSideLeft.Control = GroupBox2
|
||||
AnchorSideTop.Control = GroupBox2
|
||||
Left = 5
|
||||
Height = 20
|
||||
Top = 5
|
||||
Width = 30
|
||||
BorderSpacing.Left = 5
|
||||
BorderSpacing.Top = 5
|
||||
Left = 6
|
||||
Height = 14
|
||||
Top = 6
|
||||
Width = 27
|
||||
BorderSpacing.Left = 6
|
||||
BorderSpacing.Top = 6
|
||||
Caption = 'Text:'
|
||||
FocusControl = edtText
|
||||
ParentColor = False
|
||||
@ -151,11 +167,11 @@ object TreeViewItemsEditorForm: TTreeViewItemsEditorForm
|
||||
AnchorSideLeft.Control = LabelText
|
||||
AnchorSideTop.Control = edtText
|
||||
AnchorSideTop.Side = asrBottom
|
||||
Left = 5
|
||||
Height = 20
|
||||
Top = 59
|
||||
Width = 83
|
||||
BorderSpacing.Top = 5
|
||||
Left = 6
|
||||
Height = 14
|
||||
Top = 53
|
||||
Width = 66
|
||||
BorderSpacing.Top = 6
|
||||
Caption = 'Image Index:'
|
||||
FocusControl = edtIndexImg
|
||||
ParentColor = False
|
||||
@ -164,11 +180,11 @@ object TreeViewItemsEditorForm: TTreeViewItemsEditorForm
|
||||
AnchorSideLeft.Control = LabelImageIndex
|
||||
AnchorSideTop.Control = edtIndexImg
|
||||
AnchorSideTop.Side = asrBottom
|
||||
Left = 5
|
||||
Height = 20
|
||||
Top = 113
|
||||
Width = 99
|
||||
BorderSpacing.Top = 5
|
||||
Left = 6
|
||||
Height = 14
|
||||
Top = 100
|
||||
Width = 75
|
||||
BorderSpacing.Top = 6
|
||||
Caption = 'Selected index:'
|
||||
FocusControl = edtIndexSel
|
||||
ParentColor = False
|
||||
@ -177,11 +193,11 @@ object TreeViewItemsEditorForm: TTreeViewItemsEditorForm
|
||||
AnchorSideLeft.Control = LabelSelectedIndex
|
||||
AnchorSideTop.Control = edtIndexSel
|
||||
AnchorSideTop.Side = asrBottom
|
||||
Left = 5
|
||||
Height = 20
|
||||
Top = 167
|
||||
Width = 78
|
||||
BorderSpacing.Top = 5
|
||||
Left = 6
|
||||
Height = 14
|
||||
Top = 147
|
||||
Width = 62
|
||||
BorderSpacing.Top = 6
|
||||
Caption = 'State Index:'
|
||||
FocusControl = edtIndexState
|
||||
ParentColor = False
|
||||
@ -192,10 +208,10 @@ object TreeViewItemsEditorForm: TTreeViewItemsEditorForm
|
||||
AnchorSideTop.Side = asrBottom
|
||||
AnchorSideRight.Control = GroupBox2
|
||||
AnchorSideRight.Side = asrBottom
|
||||
Left = 5
|
||||
Height = 27
|
||||
Top = 27
|
||||
Width = 191
|
||||
Left = 6
|
||||
Height = 25
|
||||
Top = 22
|
||||
Width = 182
|
||||
Anchors = [akTop, akLeft, akRight]
|
||||
AutoSize = True
|
||||
BorderSpacing.Top = 2
|
||||
@ -207,9 +223,9 @@ object TreeViewItemsEditorForm: TTreeViewItemsEditorForm
|
||||
AnchorSideLeft.Control = LabelImageIndex
|
||||
AnchorSideTop.Control = LabelImageIndex
|
||||
AnchorSideTop.Side = asrBottom
|
||||
Left = 5
|
||||
Height = 27
|
||||
Top = 81
|
||||
Left = 6
|
||||
Height = 25
|
||||
Top = 69
|
||||
Width = 48
|
||||
AutoSize = True
|
||||
BorderSpacing.Top = 2
|
||||
@ -220,9 +236,9 @@ object TreeViewItemsEditorForm: TTreeViewItemsEditorForm
|
||||
AnchorSideLeft.Control = LabelSelectedIndex
|
||||
AnchorSideTop.Control = LabelSelectedIndex
|
||||
AnchorSideTop.Side = asrBottom
|
||||
Left = 5
|
||||
Height = 27
|
||||
Top = 135
|
||||
Left = 6
|
||||
Height = 25
|
||||
Top = 116
|
||||
Width = 48
|
||||
AutoSize = True
|
||||
BorderSpacing.Top = 2
|
||||
@ -233,9 +249,9 @@ object TreeViewItemsEditorForm: TTreeViewItemsEditorForm
|
||||
AnchorSideLeft.Control = LabelStateIndex
|
||||
AnchorSideTop.Control = LabelStateIndex
|
||||
AnchorSideTop.Side = asrBottom
|
||||
Left = 5
|
||||
Height = 27
|
||||
Top = 189
|
||||
Left = 6
|
||||
Height = 25
|
||||
Top = 163
|
||||
Width = 48
|
||||
AutoSize = True
|
||||
BorderSpacing.Top = 2
|
||||
@ -243,78 +259,81 @@ object TreeViewItemsEditorForm: TTreeViewItemsEditorForm
|
||||
TabOrder = 3
|
||||
end
|
||||
end
|
||||
object BtnPanel: TPanel
|
||||
Height = 50
|
||||
Top = 270
|
||||
Width = 536
|
||||
Align = alBottom
|
||||
BevelOuter = bvNone
|
||||
ClientHeight = 50
|
||||
ClientWidth = 536
|
||||
object BtnOK: TBitBtn
|
||||
AnchorSideRight.Control = BtnCancel
|
||||
AnchorSideBottom.Control = Owner
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 210
|
||||
Height = 26
|
||||
Top = 288
|
||||
Width = 75
|
||||
Anchors = [akRight, akBottom]
|
||||
AutoSize = True
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&OK'
|
||||
Constraints.MinHeight = 25
|
||||
Constraints.MinWidth = 75
|
||||
Kind = bkOK
|
||||
ModalResult = 1
|
||||
NumGlyphs = 0
|
||||
TabOrder = 2
|
||||
object BtnHelp: TBitBtn
|
||||
Left = 455
|
||||
Height = 38
|
||||
Top = 6
|
||||
Width = 75
|
||||
Align = alRight
|
||||
Anchors = [akRight, akBottom]
|
||||
AutoSize = True
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&Help'
|
||||
Constraints.MinWidth = 75
|
||||
Kind = bkHelp
|
||||
NumGlyphs = 0
|
||||
TabOrder = 0
|
||||
end
|
||||
object BtnApply: TBitBtn
|
||||
Left = 374
|
||||
Height = 38
|
||||
Top = 6
|
||||
Width = 75
|
||||
Align = alRight
|
||||
Anchors = [akRight, akBottom]
|
||||
AutoSize = True
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&Apply'
|
||||
Constraints.MinWidth = 75
|
||||
NumGlyphs = 0
|
||||
OnClick = btnApplyClick
|
||||
TabOrder = 1
|
||||
end
|
||||
object BtnCancel: TBitBtn
|
||||
Left = 290
|
||||
Height = 38
|
||||
Top = 6
|
||||
Width = 78
|
||||
Align = alRight
|
||||
Anchors = [akRight, akBottom]
|
||||
AutoSize = True
|
||||
BorderSpacing.Around = 6
|
||||
Cancel = True
|
||||
Caption = 'Cancel'
|
||||
Constraints.MinWidth = 75
|
||||
Kind = bkCancel
|
||||
ModalResult = 2
|
||||
NumGlyphs = 0
|
||||
TabOrder = 2
|
||||
end
|
||||
object BtnOK: TBitBtn
|
||||
Left = 209
|
||||
Height = 38
|
||||
Top = 6
|
||||
Width = 75
|
||||
Align = alRight
|
||||
Anchors = [akRight, akBottom]
|
||||
AutoSize = True
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&OK'
|
||||
Constraints.MinWidth = 75
|
||||
Kind = bkOK
|
||||
ModalResult = 1
|
||||
NumGlyphs = 0
|
||||
TabOrder = 3
|
||||
end
|
||||
end
|
||||
object BtnCancel: TBitBtn
|
||||
AnchorSideRight.Control = BtnApply
|
||||
AnchorSideBottom.Control = Owner
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 291
|
||||
Height = 26
|
||||
Top = 288
|
||||
Width = 77
|
||||
Anchors = [akRight, akBottom]
|
||||
AutoSize = True
|
||||
BorderSpacing.Around = 6
|
||||
Cancel = True
|
||||
Caption = 'Cancel'
|
||||
Constraints.MinHeight = 25
|
||||
Constraints.MinWidth = 75
|
||||
Kind = bkCancel
|
||||
ModalResult = 2
|
||||
NumGlyphs = 0
|
||||
TabOrder = 3
|
||||
end
|
||||
object BtnApply: TBitBtn
|
||||
AnchorSideRight.Control = BtnHelp
|
||||
AnchorSideBottom.Control = Owner
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 374
|
||||
Height = 25
|
||||
Top = 289
|
||||
Width = 75
|
||||
Anchors = [akRight, akBottom]
|
||||
AutoSize = True
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&Apply'
|
||||
Constraints.MinHeight = 25
|
||||
Constraints.MinWidth = 75
|
||||
NumGlyphs = 0
|
||||
OnClick = btnApplyClick
|
||||
TabOrder = 4
|
||||
end
|
||||
object BtnHelp: TBitBtn
|
||||
AnchorSideRight.Control = Owner
|
||||
AnchorSideRight.Side = asrBottom
|
||||
AnchorSideBottom.Control = Owner
|
||||
AnchorSideBottom.Side = asrBottom
|
||||
Left = 455
|
||||
Height = 26
|
||||
Top = 288
|
||||
Width = 75
|
||||
Anchors = [akRight, akBottom]
|
||||
AutoSize = True
|
||||
BorderSpacing.Around = 6
|
||||
Caption = '&Help'
|
||||
Constraints.MinHeight = 25
|
||||
Constraints.MinWidth = 75
|
||||
Kind = bkHelp
|
||||
NumGlyphs = 0
|
||||
TabOrder = 5
|
||||
end
|
||||
object OpenDialog1: TOpenDialog
|
||||
Title = 'Open'
|
||||
|
@ -5,107 +5,120 @@ LazarusResources.Add('TTreeViewItemsEditorForm','FORMDATA',[
|
||||
+#6'Height'#3'@'#1#3'Top'#3#189#0#5'Width'#3#24#2#11'BorderIcons'#11#12'biSys'
|
||||
+'temMenu'#6'biHelp'#0#7'Caption'#6#21'TreeView Items Editor'#12'ClientHeight'
|
||||
+#3'@'#1#11'ClientWidth'#3#24#2#21'Constraints.MinHeight'#3#240#0#20'Constrai'
|
||||
+'nts.MinWidth'#3#144#1#8'OnCreate'#7#10'FormCreate'#8'Position'#7#14'poScree'
|
||||
+'nCenter'#10'LCLVersion'#6#6'0.9.25'#0#9'TGroupBox'#9'GroupBox1'#6'Height'#3
|
||||
+#14#1#5'Width'#3'G'#1#5'Align'#7#6'alLeft'#7'Anchors'#11#5'akTop'#6'akLeft'#7
|
||||
+'akRight'#8'akBottom'#0#7'Caption'#6#5'Items'#12'ClientHeight'#3#251#0#11'Cl'
|
||||
+'ientWidth'#3'C'#1#8'TabOrder'#2#0#0#9'TTreeView'#9'TreeView1'#22'AnchorSide'
|
||||
+'Left.Control'#7#9'GroupBox1'#21'AnchorSideTop.Control'#7#9'GroupBox1'#24'An'
|
||||
+'chorSideBottom.Control'#7#9'GroupBox1'#21'AnchorSideBottom.Side'#7#9'asrBot'
|
||||
+'tom'#4'Left'#2#5#6'Height'#3#241#0#3'Top'#2#5#5'Width'#3#200#0#7'Anchors'#11
|
||||
+#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#18'BorderSpacing.Left'#2#5#17'B'
|
||||
+'orderSpacing.Top'#2#5#20'BorderSpacing.Bottom'#2#5#17'DefaultItemHeight'#2
|
||||
+#19#13'HideSelection'#8#8'TabOrder'#2#0#18'OnSelectionChanged'#7#25'TreeView'
|
||||
+'1SelectionChanged'#7'Options'#11#17'tvoAutoItemHeight'#21'tvoKeepCollapsedN'
|
||||
+'odes'#14'tvoShowButtons'#12'tvoShowLines'#11'tvoShowRoot'#11'tvoToolTips'#0
|
||||
+#0#0#7'TButton'#10'BtnNewItem'#3'Tag'#2#1#22'AnchorSideLeft.Control'#7#9'Tre'
|
||||
+'eView1'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#9
|
||||
+'GroupBox1'#23'AnchorSideRight.Control'#7#9'GroupBox1'#20'AnchorSideRight.Si'
|
||||
+'de'#7#9'asrBottom'#4'Left'#3#210#0#6'Height'#2#25#3'Top'#2#5#5'Width'#2'l'#7
|
||||
+'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#18'BorderSpacing.Left'#2#5#17'B'
|
||||
+'orderSpacing.Top'#2#5#19'BorderSpacing.Right'#2#5#7'Caption'#6#9'&New Item'
|
||||
+#7'Default'#9#7'OnClick'#7#15'BtnNewItemClick'#8'TabOrder'#2#1#0#0#7'TButton'
|
||||
+#13'BtnNewSubItem'#22'AnchorSideLeft.Control'#7#10'BtnNewItem'#21'AnchorSide'
|
||||
+'Top.Control'#7#10'BtnNewItem'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'Anch'
|
||||
+'orSideRight.Control'#7#10'BtnNewItem'#20'AnchorSideRight.Side'#7#9'asrBotto'
|
||||
+'m'#4'Left'#3#210#0#6'Height'#2#25#3'Top'#2'#'#5'Width'#2'l'#7'Anchors'#11#5
|
||||
+'akTop'#6'akLeft'#7'akRight'#0#17'BorderSpacing.Top'#2#5#7'Caption'#6#12'N&e'
|
||||
+'w SubItem'#7'OnClick'#7#15'BtnNewItemClick'#8'TabOrder'#2#2#0#0#7'TButton'#9
|
||||
+'BtnDelete'#22'AnchorSideLeft.Control'#7#13'BtnNewSubItem'#21'AnchorSideTop.'
|
||||
+'Control'#7#13'BtnNewSubItem'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'Ancho'
|
||||
+'rSideRight.Control'#7#13'BtnNewSubItem'#20'AnchorSideRight.Side'#7#9'asrBot'
|
||||
+'tom'#4'Left'#3#210#0#6'Height'#2#25#3'Top'#2'A'#5'Width'#2'l'#7'Anchors'#11
|
||||
+#5'akTop'#6'akLeft'#7'akRight'#0#17'BorderSpacing.Top'#2#5#7'Caption'#6#7'&D'
|
||||
+'elete'#7'OnClick'#7#14'btnDeleteClick'#8'TabOrder'#2#3#0#0#7'TButton'#7'Btn'
|
||||
+'Load'#22'AnchorSideLeft.Control'#7#9'BtnDelete'#21'AnchorSideTop.Control'#7
|
||||
+#9'BtnDelete'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSideRight.Contr'
|
||||
+'ol'#7#9'BtnDelete'#20'AnchorSideRight.Side'#7#9'asrBottom'#4'Left'#3#210#0#6
|
||||
+'Height'#2#25#3'Top'#2'_'#5'Width'#2'l'#7'Anchors'#11#5'akTop'#6'akLeft'#7'a'
|
||||
+'kRight'#0#17'BorderSpacing.Top'#2#5#7'Caption'#6#5'&Load'#7'OnClick'#7#12'b'
|
||||
+'tnLoadClick'#8'TabOrder'#2#4#0#0#7'TButton'#7'BtnSave'#22'AnchorSideLeft.Co'
|
||||
+'ntrol'#7#7'BtnLoad'#21'AnchorSideTop.Control'#7#7'BtnLoad'#18'AnchorSideTop'
|
||||
+'.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#7'BtnLoad'#20'AnchorSid'
|
||||
+'eRight.Side'#7#9'asrBottom'#4'Left'#3#210#0#6'Height'#2#25#3'Top'#2'}'#5'Wi'
|
||||
+'dth'#2'l'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#17'BorderSpacing.To'
|
||||
+'p'#2#5#7'Caption'#6#5'&Save'#7'OnClick'#7#12'btnSaveClick'#8'TabOrder'#2#5#0
|
||||
+#0#0#9'TGroupBox'#9'GroupBox2'#4'Left'#3'K'#1#6'Height'#3#14#1#5'Width'#3#205
|
||||
+#0#5'Align'#7#7'alRight'#7'Caption'#6#15'Item Properties'#12'ClientHeight'#3
|
||||
+#251#0#11'ClientWidth'#3#201#0#8'TabOrder'#2#1#0#6'TLabel'#9'LabelText'#22'A'
|
||||
+'nchorSideLeft.Control'#7#9'GroupBox2'#21'AnchorSideTop.Control'#7#9'GroupBo'
|
||||
+'x2'#4'Left'#2#5#6'Height'#2#20#3'Top'#2#5#5'Width'#2#30#18'BorderSpacing.Le'
|
||||
+'ft'#2#5#17'BorderSpacing.Top'#2#5#7'Caption'#6#5'Text:'#12'FocusControl'#7#7
|
||||
+'edtText'#11'ParentColor'#8#0#0#6'TLabel'#15'LabelImageIndex'#22'AnchorSideL'
|
||||
+'eft.Control'#7#9'LabelText'#21'AnchorSideTop.Control'#7#7'edtText'#18'Ancho'
|
||||
+'rSideTop.Side'#7#9'asrBottom'#4'Left'#2#5#6'Height'#2#20#3'Top'#2';'#5'Widt'
|
||||
+'h'#2'S'#17'BorderSpacing.Top'#2#5#7'Caption'#6#12'Image Index:'#12'FocusCon'
|
||||
+'trol'#7#11'edtIndexImg'#11'ParentColor'#8#0#0#6'TLabel'#18'LabelSelectedInd'
|
||||
+'ex'#22'AnchorSideLeft.Control'#7#15'LabelImageIndex'#21'AnchorSideTop.Contr'
|
||||
+'ol'#7#11'edtIndexImg'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#5#6'H'
|
||||
+'eight'#2#20#3'Top'#2'q'#5'Width'#2'c'#17'BorderSpacing.Top'#2#5#7'Caption'#6
|
||||
+#15'Selected index:'#12'FocusControl'#7#11'edtIndexSel'#11'ParentColor'#8#0#0
|
||||
+#6'TLabel'#15'LabelStateIndex'#22'AnchorSideLeft.Control'#7#18'LabelSelected'
|
||||
+'Index'#21'AnchorSideTop.Control'#7#11'edtIndexSel'#18'AnchorSideTop.Side'#7
|
||||
,#9'asrBottom'#4'Left'#2#5#6'Height'#2#20#3'Top'#3#167#0#5'Width'#2'N'#17'Bor'
|
||||
+'derSpacing.Top'#2#5#7'Caption'#6#12'State Index:'#12'FocusControl'#7#13'edt'
|
||||
+'IndexState'#11'ParentColor'#8#0#0#5'TEdit'#7'edtText'#22'AnchorSideLeft.Con'
|
||||
+'trol'#7#9'LabelText'#21'AnchorSideTop.Control'#7#9'LabelText'#18'AnchorSide'
|
||||
+'Top.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#9'GroupBox2'#20'Anch'
|
||||
+'orSideRight.Side'#7#9'asrBottom'#4'Left'#2#5#6'Height'#2#27#3'Top'#2#27#5'W'
|
||||
+'idth'#3#191#0#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#8'AutoSize'#9#17
|
||||
+'BorderSpacing.Top'#2#2#19'BorderSpacing.Right'#2#5#8'OnChange'#7#11'Edit1Ch'
|
||||
+'ange'#8'TabOrder'#2#0#0#0#5'TEdit'#11'edtIndexImg'#22'AnchorSideLeft.Contro'
|
||||
+'l'#7#15'LabelImageIndex'#21'AnchorSideTop.Control'#7#15'LabelImageIndex'#18
|
||||
+'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#5#6'Height'#2#27#3'Top'#2'Q'#5
|
||||
+'nts.MinWidth'#3#144#1#8'OnCreate'#7#10'FormCreate'#10'ParentFont'#8#8'Posit'
|
||||
+'ion'#7#14'poScreenCenter'#10'LCLVersion'#6#6'0.9.27'#0#9'TGroupBox'#9'Group'
|
||||
+'Box1'#22'AnchorSideLeft.Control'#7#5'Owner'#21'AnchorSideTop.Control'#7#5'O'
|
||||
+'wner'#24'AnchorSideBottom.Control'#7#5'BtnOK'#4'Left'#2#6#6'Height'#3#20#1#3
|
||||
+'Top'#2#6#5'Width'#3'A'#1#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBo'
|
||||
+'ttom'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#5'Items'#12'ClientHeight'
|
||||
+#3#2#1#11'ClientWidth'#3'='#1#8'TabOrder'#2#0#0#9'TTreeView'#9'TreeView1'#22
|
||||
+'AnchorSideLeft.Control'#7#9'GroupBox1'#21'AnchorSideTop.Control'#7#9'GroupB'
|
||||
+'ox1'#24'AnchorSideBottom.Control'#7#9'GroupBox1'#21'AnchorSideBottom.Side'#7
|
||||
+#9'asrBottom'#4'Left'#2#5#6'Height'#3#248#0#3'Top'#2#5#5'Width'#3#194#0#7'An'
|
||||
+'chors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#18'BorderSpacing.Left'
|
||||
+#2#5#17'BorderSpacing.Top'#2#5#20'BorderSpacing.Bottom'#2#5#17'DefaultItemHe'
|
||||
+'ight'#2#15#13'HideSelection'#8#8'TabOrder'#2#0#18'OnSelectionChanged'#7#25
|
||||
+'TreeView1SelectionChanged'#7'Options'#11#17'tvoAutoItemHeight'#21'tvoKeepCo'
|
||||
+'llapsedNodes'#14'tvoShowButtons'#12'tvoShowLines'#11'tvoShowRoot'#11'tvoToo'
|
||||
+'lTips'#0#0#0#7'TButton'#10'BtnNewItem'#3'Tag'#2#1#22'AnchorSideLeft.Control'
|
||||
+#7#9'TreeView1'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Cont'
|
||||
+'rol'#7#9'GroupBox1'#23'AnchorSideRight.Control'#7#9'GroupBox1'#20'AnchorSid'
|
||||
+'eRight.Side'#7#9'asrBottom'#4'Left'#3#205#0#6'Height'#2#25#3'Top'#2#6#5'Wid'
|
||||
+'th'#2'j'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#20'BorderSpacing.Aro'
|
||||
+'und'#2#6#7'Caption'#6#9'&New Item'#7'Default'#9#7'OnClick'#7#15'BtnNewItemC'
|
||||
+'lick'#8'TabOrder'#2#1#0#0#7'TButton'#13'BtnNewSubItem'#22'AnchorSideLeft.Co'
|
||||
+'ntrol'#7#9'TreeView1'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideT'
|
||||
+'op.Control'#7#10'BtnNewItem'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'Ancho'
|
||||
+'rSideRight.Control'#7#9'GroupBox1'#20'AnchorSideRight.Side'#7#9'asrBottom'#4
|
||||
+'Left'#3#205#0#6'Height'#2#25#3'Top'#2'%'#5'Width'#2'j'#7'Anchors'#11#5'akTo'
|
||||
+'p'#6'akLeft'#7'akRight'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#12'N&ew'
|
||||
+' SubItem'#7'OnClick'#7#15'BtnNewItemClick'#8'TabOrder'#2#2#0#0#7'TButton'#9
|
||||
+'BtnDelete'#22'AnchorSideLeft.Control'#7#9'TreeView1'#19'AnchorSideLeft.Side'
|
||||
+#7#9'asrBottom'#21'AnchorSideTop.Control'#7#13'BtnNewSubItem'#18'AnchorSideT'
|
||||
+'op.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#9'GroupBox1'#20'Ancho'
|
||||
+'rSideRight.Side'#7#9'asrBottom'#4'Left'#3#205#0#6'Height'#2#25#3'Top'#2'D'#5
|
||||
+'Width'#2'j'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0#20'BorderSpacing.'
|
||||
+'Around'#2#6#7'Caption'#6#7'&Delete'#7'OnClick'#7#14'btnDeleteClick'#8'TabOr'
|
||||
+'der'#2#3#0#0#7'TButton'#7'BtnLoad'#22'AnchorSideLeft.Control'#7#9'TreeView1'
|
||||
+#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Control'#7#9'BtnDel'
|
||||
+'ete'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#9
|
||||
+'GroupBox1'#20'AnchorSideRight.Side'#7#9'asrBottom'#4'Left'#3#205#0#6'Height'
|
||||
+#2#25#3'Top'#2'c'#5'Width'#2'j'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#0
|
||||
+#20'BorderSpacing.Around'#2#6#7'Caption'#6#5'&Load'#7'OnClick'#7#12'btnLoadC'
|
||||
+'lick'#8'TabOrder'#2#4#0#0#7'TButton'#7'BtnSave'#22'AnchorSideLeft.Control'#7
|
||||
+#9'TreeView1'#19'AnchorSideLeft.Side'#7#9'asrBottom'#21'AnchorSideTop.Contro'
|
||||
+'l'#7#7'BtnLoad'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSideRight.Co'
|
||||
+'ntrol'#7#9'GroupBox1'#20'AnchorSideRight.Side'#7#9'asrBottom'#4'Left'#3#205
|
||||
+#0#6'Height'#2#25#3'Top'#3#130#0#5'Width'#2'j'#7'Anchors'#11#5'akTop'#6'akLe'
|
||||
+'ft'#7'akRight'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#5'&Save'#7'OnCli'
|
||||
+'ck'#7#12'btnSaveClick'#8'TabOrder'#2#5#0#0#0#9'TGroupBox'#9'GroupBox2'#22'A'
|
||||
+'nchorSideLeft.Control'#7#9'GroupBox1'#19'AnchorSideLeft.Side'#7#9'asrBottom'
|
||||
+#21'AnchorSideTop.Control'#7#5'Owner'#23'AnchorSideRight.Control'#7#5'Owner'
|
||||
+#20'AnchorSideRight.Side'#7#9'asrBottom'#24'AnchorSideBottom.Control'#7#5'Bt'
|
||||
+'nOK'#4'Left'#3'M'#1#6'Height'#3#20#1#3'Top'#2#6#5'Width'#3#197#0#7'Anchors'
|
||||
+#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#20'BorderSpacing.Around'#2#6
|
||||
+#7'Caption'#6#15'Item Properties'#12'ClientHeight'#3#2#1#11'ClientWidth'#3
|
||||
+#193#0#8'TabOrder'#2#1#0#6'TLabel'#9'LabelText'#22'AnchorSideLeft.Control'#7
|
||||
+#9'GroupBox2'#21'AnchorSideTop.Control'#7#9'GroupBox2'#4'Left'#2#6#6'Height'
|
||||
+#2#14#3'Top'#2#6#5'Width'#2#27#18'BorderSpacing.Left'#2#6#17'BorderSpacing.T'
|
||||
+'op'#2#6#7'Caption'#6#5'Text:'#12'FocusControl'#7#7'edtText'#11'ParentColor'
|
||||
+#8#0#0#6'TLabel'#15'LabelImageIndex'#22'AnchorSideLeft.Control'#7#9'LabelTex'
|
||||
+'t'#21'AnchorSideTop.Control'#7#7'edtText'#18'AnchorSideTop.Side'#7#9'asrBot'
|
||||
+'tom'#4'Left'#2#6#6'Height'#2#14#3'Top'#2'5'#5'Width'#2'B'#17'BorderSpacing.'
|
||||
,'Top'#2#6#7'Caption'#6#12'Image Index:'#12'FocusControl'#7#11'edtIndexImg'#11
|
||||
+'ParentColor'#8#0#0#6'TLabel'#18'LabelSelectedIndex'#22'AnchorSideLeft.Contr'
|
||||
+'ol'#7#15'LabelImageIndex'#21'AnchorSideTop.Control'#7#11'edtIndexImg'#18'An'
|
||||
+'chorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#14#3'Top'#2'd'#5'W'
|
||||
+'idth'#2'K'#17'BorderSpacing.Top'#2#6#7'Caption'#6#15'Selected index:'#12'Fo'
|
||||
+'cusControl'#7#11'edtIndexSel'#11'ParentColor'#8#0#0#6'TLabel'#15'LabelState'
|
||||
+'Index'#22'AnchorSideLeft.Control'#7#18'LabelSelectedIndex'#21'AnchorSideTop'
|
||||
+'.Control'#7#11'edtIndexSel'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2
|
||||
+#6#6'Height'#2#14#3'Top'#3#147#0#5'Width'#2'>'#17'BorderSpacing.Top'#2#6#7'C'
|
||||
+'aption'#6#12'State Index:'#12'FocusControl'#7#13'edtIndexState'#11'ParentCo'
|
||||
+'lor'#8#0#0#5'TEdit'#7'edtText'#22'AnchorSideLeft.Control'#7#9'LabelText'#21
|
||||
+'AnchorSideTop.Control'#7#9'LabelText'#18'AnchorSideTop.Side'#7#9'asrBottom'
|
||||
+#23'AnchorSideRight.Control'#7#9'GroupBox2'#20'AnchorSideRight.Side'#7#9'asr'
|
||||
+'Bottom'#4'Left'#2#6#6'Height'#2#25#3'Top'#2#22#5'Width'#3#182#0#7'Anchors'
|
||||
+#11#5'akTop'#6'akLeft'#7'akRight'#0#8'AutoSize'#9#17'BorderSpacing.Top'#2#2
|
||||
+#19'BorderSpacing.Right'#2#5#8'OnChange'#7#11'Edit1Change'#8'TabOrder'#2#0#0
|
||||
+#0#5'TEdit'#11'edtIndexImg'#22'AnchorSideLeft.Control'#7#15'LabelImageIndex'
|
||||
+#21'AnchorSideTop.Control'#7#15'LabelImageIndex'#18'AnchorSideTop.Side'#7#9
|
||||
+'asrBottom'#4'Left'#2#6#6'Height'#2#25#3'Top'#2'E'#5'Width'#2'0'#8'AutoSize'
|
||||
+#9#17'BorderSpacing.Top'#2#2#13'OnEditingDone'#7#24'edtIndexStateEditingDone'
|
||||
+#8'TabOrder'#2#1#0#0#5'TEdit'#11'edtIndexSel'#22'AnchorSideLeft.Control'#7#18
|
||||
+'LabelSelectedIndex'#21'AnchorSideTop.Control'#7#18'LabelSelectedIndex'#18'A'
|
||||
+'nchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#25#3'Top'#2't'#5
|
||||
+'Width'#2'0'#8'AutoSize'#9#17'BorderSpacing.Top'#2#2#13'OnEditingDone'#7#24
|
||||
+'edtIndexStateEditingDone'#8'TabOrder'#2#1#0#0#5'TEdit'#11'edtIndexSel'#22'A'
|
||||
+'nchorSideLeft.Control'#7#18'LabelSelectedIndex'#21'AnchorSideTop.Control'#7
|
||||
+#18'LabelSelectedIndex'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#5#6
|
||||
+'Height'#2#27#3'Top'#3#135#0#5'Width'#2'0'#8'AutoSize'#9#17'BorderSpacing.To'
|
||||
+'p'#2#2#13'OnEditingDone'#7#24'edtIndexStateEditingDone'#8'TabOrder'#2#2#0#0
|
||||
+#5'TEdit'#13'edtIndexState'#22'AnchorSideLeft.Control'#7#15'LabelStateIndex'
|
||||
+#21'AnchorSideTop.Control'#7#15'LabelStateIndex'#18'AnchorSideTop.Side'#7#9
|
||||
+'asrBottom'#4'Left'#2#5#6'Height'#2#27#3'Top'#3#189#0#5'Width'#2'0'#8'AutoSi'
|
||||
+'ze'#9#17'BorderSpacing.Top'#2#2#13'OnEditingDone'#7#24'edtIndexStateEditing'
|
||||
+'Done'#8'TabOrder'#2#3#0#0#0#6'TPanel'#8'BtnPanel'#6'Height'#2'2'#3'Top'#3#14
|
||||
+#1#5'Width'#3#24#2#5'Align'#7#8'alBottom'#10'BevelOuter'#7#6'bvNone'#12'Clie'
|
||||
+'ntHeight'#2'2'#11'ClientWidth'#3#24#2#8'TabOrder'#2#2#0#7'TBitBtn'#7'BtnHel'
|
||||
+'p'#4'Left'#3#199#1#6'Height'#2'&'#3'Top'#2#6#5'Width'#2'K'#5'Align'#7#7'alR'
|
||||
+'ight'#7'Anchors'#11#7'akRight'#8'akBottom'#0#8'AutoSize'#9#20'BorderSpacing'
|
||||
+'.Around'#2#6#7'Caption'#6#5'&Help'#20'Constraints.MinWidth'#2'K'#4'Kind'#7#6
|
||||
+'bkHelp'#9'NumGlyphs'#2#0#8'TabOrder'#2#0#0#0#7'TBitBtn'#8'BtnApply'#4'Left'
|
||||
+#3'v'#1#6'Height'#2'&'#3'Top'#2#6#5'Width'#2'K'#5'Align'#7#7'alRight'#7'Anch'
|
||||
+'ors'#11#7'akRight'#8'akBottom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6
|
||||
+#7'Caption'#6#6'&Apply'#20'Constraints.MinWidth'#2'K'#9'NumGlyphs'#2#0#7'OnC'
|
||||
+'lick'#7#13'btnApplyClick'#8'TabOrder'#2#1#0#0#7'TBitBtn'#9'BtnCancel'#4'Lef'
|
||||
+'t'#3'"'#1#6'Height'#2'&'#3'Top'#2#6#5'Width'#2'N'#5'Align'#7#7'alRight'#7'A'
|
||||
+'nchors'#11#7'akRight'#8'akBottom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2
|
||||
+#6#6'Cancel'#9#7'Caption'#6#6'Cancel'#20'Constraints.MinWidth'#2'K'#4'Kind'#7
|
||||
+#8'bkCancel'#11'ModalResult'#2#2#9'NumGlyphs'#2#0#8'TabOrder'#2#2#0#0#7'TBit'
|
||||
+'Btn'#5'BtnOK'#4'Left'#3#209#0#6'Height'#2'&'#3'Top'#2#6#5'Width'#2'K'#5'Ali'
|
||||
+'gn'#7#7'alRight'#7'Anchors'#11#7'akRight'#8'akBottom'#0#8'AutoSize'#9#20'Bo'
|
||||
+'rderSpacing.Around'#2#6#7'Caption'#6#3'&OK'#20'Constraints.MinWidth'#2'K'#4
|
||||
+'Kind'#7#4'bkOK'#11'ModalResult'#2#1#9'NumGlyphs'#2#0#8'TabOrder'#2#3#0#0#0
|
||||
+#11'TOpenDialog'#11'OpenDialog1'#5'Title'#6#4'Open'#11'FilterIndex'#2#0#4'le'
|
||||
+'ft'#3#176#0#3'top'#3#234#0#0#0#11'TSaveDialog'#11'SaveDialog1'#5'Title'#6#4
|
||||
+'Save'#11'FilterIndex'#2#0#4'left'#3#176#0#3'top'#3#234#0#0#0#0
|
||||
+'edtIndexStateEditingDone'#8'TabOrder'#2#2#0#0#5'TEdit'#13'edtIndexState'#22
|
||||
+'AnchorSideLeft.Control'#7#15'LabelStateIndex'#21'AnchorSideTop.Control'#7#15
|
||||
+'LabelStateIndex'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'
|
||||
+#2#25#3'Top'#3#163#0#5'Width'#2'0'#8'AutoSize'#9#17'BorderSpacing.Top'#2#2#13
|
||||
+'OnEditingDone'#7#24'edtIndexStateEditingDone'#8'TabOrder'#2#3#0#0#0#7'TBitB'
|
||||
+'tn'#5'BtnOK'#23'AnchorSideRight.Control'#7#9'BtnCancel'#24'AnchorSideBottom'
|
||||
+'.Control'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#3#210
|
||||
+#0#6'Height'#2#26#3'Top'#3' '#1#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akB'
|
||||
+'ottom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6#3'&OK'#21
|
||||
+'Constraints.MinHeight'#2#25#20'Constraints.MinWidth'#2'K'#4'Kind'#7#4'bkOK'
|
||||
+#11'ModalResult'#2#1#9'NumGlyphs'#2#0#8'TabOrder'#2#2#0#0#7'TBitBtn'#9'BtnCa'
|
||||
+'ncel'#23'AnchorSideRight.Control'#7#8'BtnApply'#24'AnchorSideBottom.Control'
|
||||
+#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#3'#'#1#6'Height'
|
||||
+#2#26#3'Top'#3' '#1#5'Width'#2'M'#7'Anchors'#11#7'akRight'#8'akBottom'#0#8'A'
|
||||
+'utoSize'#9#20'BorderSpacing.Around'#2#6#6'Cancel'#9#7'Caption'#6#6'Cancel'
|
||||
+#21'Constraints.MinHeight'#2#25#20'Constraints.MinWidth'#2'K'#4'Kind'#7#8'bk'
|
||||
+'Cancel'#11'ModalResult'#2#2#9'NumGlyphs'#2#0#8'TabOrder'#2#3#0#0#7'TBitBtn'
|
||||
+#8'BtnApply'#23'AnchorSideRight.Control'#7#7'BtnHelp'#24'AnchorSideBottom.Co'
|
||||
+'ntrol'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#3'v'#1#6
|
||||
+'Height'#2#25#3'Top'#3'!'#1#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8'akBotto'
|
||||
+'m'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6#6'&Apply'#21'C'
|
||||
+'onstraints.MinHeight'#2#25#20'Constraints.MinWidth'#2'K'#9'NumGlyphs'#2#0#7
|
||||
+'OnClick'#7#13'btnApplyClick'#8'TabOrder'#2#4#0#0#7'TBitBtn'#7'BtnHelp'#23'A'
|
||||
+'nchorSideRight.Control'#7#5'Owner'#20'AnchorSideRight.Side'#7#9'asrBottom'
|
||||
+#24'AnchorSideBottom.Control'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBo'
|
||||
+'ttom'#4'Left'#3#199#1#6'Height'#2#26#3'Top'#3' '#1#5'Width'#2'K'#7'Anchors'
|
||||
+#11#7'akRight'#8'akBottom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Ca'
|
||||
+'ption'#6#5'&Help'#21'Constraints.MinHeight'#2#25#20'Constraints.MinWidth'#2
|
||||
+'K'#4'Kind'#7#6'bkHelp'#9'NumGlyphs'#2#0#8'TabOrder'#2#5#0#0#11'TOpenDialog'
|
||||
+#11'OpenDialog1'#5'Title'#6#4'Open'#11'FilterIndex'#2#0#4'left'#3#176#0#3'to'
|
||||
+'p'#3#234#0#0#0#11'TSaveDialog'#11'SaveDialog1'#5'Title'#6#4'Save'#11'Filter'
|
||||
+'Index'#2#0#4'left'#3#176#0#3'top'#3#234#0#0#0#0
|
||||
]);
|
||||
|
@ -32,11 +32,11 @@ type
|
||||
{ TTreeViewItemsEditorForm }
|
||||
|
||||
TTreeViewItemsEditorForm = class(TForm)
|
||||
BtnSave: TButton;
|
||||
BtnOK: TBitBtn;
|
||||
BtnCancel: TBitBtn;
|
||||
BtnApply: TBitBtn;
|
||||
BtnCancel: TBitBtn;
|
||||
BtnHelp: TBitBtn;
|
||||
BtnOK: TBitBtn;
|
||||
BtnSave: TButton;
|
||||
BtnNewItem: TButton;
|
||||
BtnNewSubItem: TButton;
|
||||
BtnDelete: TButton;
|
||||
@ -52,7 +52,6 @@ type
|
||||
LabelSelectedIndex: TLabel;
|
||||
LabelStateIndex: TLabel;
|
||||
OpenDialog1: TOpenDialog;
|
||||
BtnPanel: TPanel;
|
||||
SaveDialog1: TSaveDialog;
|
||||
TreeView1: TTreeView;
|
||||
procedure BtnNewItemClick(Sender: TObject);
|
||||
|
Loading…
Reference in New Issue
Block a user