mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 12:12:25 +02:00
ideinf: apply patch of Boian Mitov to support listview state images in the listview property editor
git-svn-id: trunk@22326 -
This commit is contained in:
parent
9f073bba5d
commit
ecbfc2aeaf
@ -12,14 +12,14 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
|||||||
Constraints.MinWidth = 400
|
Constraints.MinWidth = 400
|
||||||
OnCreate = FormCreate
|
OnCreate = FormCreate
|
||||||
Position = poScreenCenter
|
Position = poScreenCenter
|
||||||
LCLVersion = '0.9.27'
|
LCLVersion = '0.9.29'
|
||||||
object BtnOK: TBitBtn
|
object BtnOK: TBitBtn
|
||||||
AnchorSideRight.Control = BtnCancel
|
AnchorSideRight.Control = BtnCancel
|
||||||
AnchorSideBottom.Control = Owner
|
AnchorSideBottom.Control = Owner
|
||||||
AnchorSideBottom.Side = asrBottom
|
AnchorSideBottom.Side = asrBottom
|
||||||
Left = 183
|
Left = 180
|
||||||
Height = 36
|
Height = 26
|
||||||
Top = 204
|
Top = 214
|
||||||
Width = 75
|
Width = 75
|
||||||
Anchors = [akRight, akBottom]
|
Anchors = [akRight, akBottom]
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
@ -36,10 +36,10 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
|||||||
AnchorSideRight.Control = BtnApply
|
AnchorSideRight.Control = BtnApply
|
||||||
AnchorSideBottom.Control = Owner
|
AnchorSideBottom.Control = Owner
|
||||||
AnchorSideBottom.Side = asrBottom
|
AnchorSideBottom.Side = asrBottom
|
||||||
Left = 264
|
Left = 261
|
||||||
Height = 32
|
Height = 26
|
||||||
Top = 208
|
Top = 214
|
||||||
Width = 78
|
Width = 81
|
||||||
Anchors = [akRight, akBottom]
|
Anchors = [akRight, akBottom]
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
@ -57,8 +57,8 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
|||||||
AnchorSideBottom.Control = Owner
|
AnchorSideBottom.Control = Owner
|
||||||
AnchorSideBottom.Side = asrBottom
|
AnchorSideBottom.Side = asrBottom
|
||||||
Left = 348
|
Left = 348
|
||||||
Height = 29
|
Height = 25
|
||||||
Top = 211
|
Top = 215
|
||||||
Width = 75
|
Width = 75
|
||||||
Anchors = [akRight, akBottom]
|
Anchors = [akRight, akBottom]
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
@ -76,8 +76,8 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
|||||||
AnchorSideBottom.Control = Owner
|
AnchorSideBottom.Control = Owner
|
||||||
AnchorSideBottom.Side = asrBottom
|
AnchorSideBottom.Side = asrBottom
|
||||||
Left = 429
|
Left = 429
|
||||||
Height = 36
|
Height = 26
|
||||||
Top = 204
|
Top = 214
|
||||||
Width = 75
|
Width = 75
|
||||||
Anchors = [akRight, akBottom]
|
Anchors = [akRight, akBottom]
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
@ -94,13 +94,13 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
|||||||
AnchorSideTop.Control = Owner
|
AnchorSideTop.Control = Owner
|
||||||
AnchorSideBottom.Control = BtnOK
|
AnchorSideBottom.Control = BtnOK
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 192
|
Height = 202
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 295
|
Width = 295
|
||||||
Anchors = [akTop, akLeft, akBottom]
|
Anchors = [akTop, akLeft, akBottom]
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'Items'
|
Caption = 'Items'
|
||||||
ClientHeight = 173
|
ClientHeight = 184
|
||||||
ClientWidth = 291
|
ClientWidth = 291
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
object TreeView1: TTreeView
|
object TreeView1: TTreeView
|
||||||
@ -109,14 +109,14 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
|||||||
AnchorSideBottom.Control = GroupBox1
|
AnchorSideBottom.Control = GroupBox1
|
||||||
AnchorSideBottom.Side = asrBottom
|
AnchorSideBottom.Side = asrBottom
|
||||||
Left = 5
|
Left = 5
|
||||||
Height = 163
|
Height = 174
|
||||||
Top = 5
|
Top = 5
|
||||||
Width = 160
|
Width = 160
|
||||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||||
BorderSpacing.Left = 5
|
BorderSpacing.Left = 5
|
||||||
BorderSpacing.Top = 5
|
BorderSpacing.Top = 5
|
||||||
BorderSpacing.Bottom = 5
|
BorderSpacing.Bottom = 5
|
||||||
DefaultItemHeight = 19
|
DefaultItemHeight = 17
|
||||||
HideSelection = False
|
HideSelection = False
|
||||||
ReadOnly = True
|
ReadOnly = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
@ -184,22 +184,22 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
|||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
AnchorSideBottom.Control = BtnOK
|
AnchorSideBottom.Control = BtnOK
|
||||||
Left = 307
|
Left = 307
|
||||||
Height = 192
|
Height = 202
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 197
|
Width = 197
|
||||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'Item Properties'
|
Caption = 'Item Properties'
|
||||||
ClientHeight = 173
|
ClientHeight = 184
|
||||||
ClientWidth = 193
|
ClientWidth = 193
|
||||||
TabOrder = 5
|
TabOrder = 5
|
||||||
object LabelCaption: TLabel
|
object LabelCaption: TLabel
|
||||||
AnchorSideLeft.Control = GroupBox2
|
AnchorSideLeft.Control = GroupBox2
|
||||||
AnchorSideTop.Control = GroupBox2
|
AnchorSideTop.Control = GroupBox2
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 18
|
Height = 16
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 54
|
Width = 46
|
||||||
BorderSpacing.Left = 6
|
BorderSpacing.Left = 6
|
||||||
BorderSpacing.Top = 6
|
BorderSpacing.Top = 6
|
||||||
Caption = 'Caption:'
|
Caption = 'Caption:'
|
||||||
@ -211,9 +211,9 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
|||||||
AnchorSideTop.Control = edtText
|
AnchorSideTop.Control = edtText
|
||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 18
|
Height = 16
|
||||||
Top = 55
|
Top = 53
|
||||||
Width = 83
|
Width = 68
|
||||||
BorderSpacing.Top = 6
|
BorderSpacing.Top = 6
|
||||||
Caption = 'Image Index:'
|
Caption = 'Image Index:'
|
||||||
FocusControl = edtIndexImg
|
FocusControl = edtIndexImg
|
||||||
@ -224,14 +224,13 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
|||||||
AnchorSideTop.Control = edtIndexImg
|
AnchorSideTop.Control = edtIndexImg
|
||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 18
|
Height = 16
|
||||||
Top = 104
|
Top = 100
|
||||||
Width = 78
|
Width = 61
|
||||||
BorderSpacing.Top = 6
|
BorderSpacing.Top = 6
|
||||||
Caption = 'State Index:'
|
Caption = 'State Index:'
|
||||||
FocusControl = edtIndexState
|
FocusControl = edtIndexState
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
Visible = False
|
|
||||||
end
|
end
|
||||||
object edtText: TEdit
|
object edtText: TEdit
|
||||||
AnchorSideLeft.Control = LabelCaption
|
AnchorSideLeft.Control = LabelCaption
|
||||||
@ -241,7 +240,7 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
|||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 26
|
Top = 24
|
||||||
Width = 182
|
Width = 182
|
||||||
Anchors = [akTop, akLeft, akRight]
|
Anchors = [akTop, akLeft, akRight]
|
||||||
BorderSpacing.Top = 2
|
BorderSpacing.Top = 2
|
||||||
@ -255,7 +254,7 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
|||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 75
|
Top = 71
|
||||||
Width = 48
|
Width = 48
|
||||||
BorderSpacing.Top = 2
|
BorderSpacing.Top = 2
|
||||||
OnEditingDone = edtIndexStateEditingDone
|
OnEditingDone = edtIndexStateEditingDone
|
||||||
@ -267,12 +266,11 @@ object ListViewItemsEditorForm: TListViewItemsEditorForm
|
|||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 23
|
Height = 23
|
||||||
Top = 124
|
Top = 118
|
||||||
Width = 48
|
Width = 48
|
||||||
BorderSpacing.Top = 2
|
BorderSpacing.Top = 2
|
||||||
OnEditingDone = edtIndexStateEditingDone
|
OnEditingDone = edtIndexStateEditingDone
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
Visible = False
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -6,42 +6,42 @@ LazarusResources.Add('TListViewItemsEditorForm','FORMDATA',[
|
|||||||
+'OK'#11'BorderIcons'#11#12'biSystemMenu'#6'biHelp'#0#7'Caption'#6#21'ListVie'
|
+'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'
|
+'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'
|
+'ints.MinHeight'#3#200#0#20'Constraints.MinWidth'#3#144#1#8'OnCreate'#7#10'F'
|
||||||
+'ormCreate'#8'Position'#7#14'poScreenCenter'#10'LCLVersion'#6#6'0.9.27'#0#7
|
+'ormCreate'#8'Position'#7#14'poScreenCenter'#10'LCLVersion'#6#6'0.9.29'#0#7
|
||||||
+'TBitBtn'#5'BtnOK'#23'AnchorSideRight.Control'#7#9'BtnCancel'#24'AnchorSideB'
|
+'TBitBtn'#5'BtnOK'#23'AnchorSideRight.Control'#7#9'BtnCancel'#24'AnchorSideB'
|
||||||
+'ottom.Control'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#3
|
+'ottom.Control'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#3
|
||||||
+#183#0#6'Height'#2'$'#3'Top'#3#204#0#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8
|
+#180#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'Caption'#6#3'&OK'
|
+'akBottom'#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'bk'
|
+#21'Constraints.MinHeight'#2#25#20'Constraints.MinWidth'#2'K'#4'Kind'#7#4'bk'
|
||||||
+'OK'#11'ModalResult'#2#1#9'NumGlyphs'#2#0#8'TabOrder'#2#0#0#0#7'TBitBtn'#9'B'
|
+'OK'#11'ModalResult'#2#1#9'NumGlyphs'#2#0#8'TabOrder'#2#0#0#0#7'TBitBtn'#9'B'
|
||||||
+'tnCancel'#23'AnchorSideRight.Control'#7#8'BtnApply'#24'AnchorSideBottom.Con'
|
+'tnCancel'#23'AnchorSideRight.Control'#7#8'BtnApply'#24'AnchorSideBottom.Con'
|
||||||
+'trol'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#3#8#1#6'H'
|
+'trol'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#3#5#1#6'H'
|
||||||
+'eight'#2' '#3'Top'#3#208#0#5'Width'#2'N'#7'Anchors'#11#7'akRight'#8'akBotto'
|
+'eight'#2#26#3'Top'#3#214#0#5'Width'#2'Q'#7'Anchors'#11#7'akRight'#8'akBotto'
|
||||||
+'m'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#6'Cancel'#9#7'Caption'#6#6
|
+'m'#0#8'AutoSize'#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'
|
+'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'TB'
|
+#7#8'bkCancel'#11'ModalResult'#2#2#9'NumGlyphs'#2#0#8'TabOrder'#2#1#0#0#7'TB'
|
||||||
+'itBtn'#8'BtnApply'#23'AnchorSideRight.Control'#7#7'BtnHelp'#24'AnchorSideBo'
|
+'itBtn'#8'BtnApply'#23'AnchorSideRight.Control'#7#7'BtnHelp'#24'AnchorSideBo'
|
||||||
+'ttom.Control'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#3
|
+'ttom.Control'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#3
|
||||||
+'\'#1#6'Height'#2#29#3'Top'#3#211#0#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8
|
+'\'#1#6'Height'#2#25#3'Top'#3#215#0#5'Width'#2'K'#7'Anchors'#11#7'akRight'#8
|
||||||
+'akBottom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6#6'&Appl'
|
+'akBottom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6#6'&Appl'
|
||||||
+'y'#21'Constraints.MinHeight'#2#25#20'Constraints.MinWidth'#2'K'#9'NumGlyphs'
|
+'y'#21'Constraints.MinHeight'#2#25#20'Constraints.MinWidth'#2'K'#9'NumGlyphs'
|
||||||
+#2#0#7'OnClick'#7#13'btnApplyClick'#8'TabOrder'#2#2#0#0#7'TBitBtn'#7'BtnHelp'
|
+#2#0#7'OnClick'#7#13'btnApplyClick'#8'TabOrder'#2#2#0#0#7'TBitBtn'#7'BtnHelp'
|
||||||
+#23'AnchorSideRight.Control'#7#5'Owner'#20'AnchorSideRight.Side'#7#9'asrBott'
|
+#23'AnchorSideRight.Control'#7#5'Owner'#20'AnchorSideRight.Side'#7#9'asrBott'
|
||||||
+'om'#24'AnchorSideBottom.Control'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'a'
|
+'om'#24'AnchorSideBottom.Control'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'a'
|
||||||
+'srBottom'#4'Left'#3#173#1#6'Height'#2'$'#3'Top'#3#204#0#5'Width'#2'K'#7'Anc'
|
+'srBottom'#4'Left'#3#173#1#6'Height'#2#26#3'Top'#3#214#0#5'Width'#2'K'#7'Anc'
|
||||||
+'hors'#11#7'akRight'#8'akBottom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6
|
+'hors'#11#7'akRight'#8'akBottom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2#6
|
||||||
+#7'Caption'#6#5'&Help'#21'Constraints.MinHeight'#2#25#20'Constraints.MinWidt'
|
+#7'Caption'#6#5'&Help'#21'Constraints.MinHeight'#2#25#20'Constraints.MinWidt'
|
||||||
+'h'#2'K'#4'Kind'#7#6'bkHelp'#9'NumGlyphs'#2#0#8'TabOrder'#2#3#0#0#9'TGroupBo'
|
+'h'#2'K'#4'Kind'#7#6'bkHelp'#9'NumGlyphs'#2#0#8'TabOrder'#2#3#0#0#9'TGroupBo'
|
||||||
+'x'#9'GroupBox1'#22'AnchorSideLeft.Control'#7#5'Owner'#21'AnchorSideTop.Cont'
|
+'x'#9'GroupBox1'#22'AnchorSideLeft.Control'#7#5'Owner'#21'AnchorSideTop.Cont'
|
||||||
+'rol'#7#5'Owner'#24'AnchorSideBottom.Control'#7#5'BtnOK'#4'Left'#2#6#6'Heigh'
|
+'rol'#7#5'Owner'#24'AnchorSideBottom.Control'#7#5'BtnOK'#4'Left'#2#6#6'Heigh'
|
||||||
+'t'#3#192#0#3'Top'#2#6#5'Width'#3''''#1#7'Anchors'#11#5'akTop'#6'akLeft'#8'a'
|
+'t'#3#202#0#3'Top'#2#6#5'Width'#3''''#1#7'Anchors'#11#5'akTop'#6'akLeft'#8'a'
|
||||||
+'kBottom'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#5'Items'#12'ClientHeig'
|
+'kBottom'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#5'Items'#12'ClientHeig'
|
||||||
+'ht'#3#173#0#11'ClientWidth'#3'#'#1#8'TabOrder'#2#4#0#9'TTreeView'#9'TreeVie'
|
+'ht'#3#184#0#11'ClientWidth'#3'#'#1#8'TabOrder'#2#4#0#9'TTreeView'#9'TreeVie'
|
||||||
+'w1'#22'AnchorSideLeft.Control'#7#9'GroupBox1'#21'AnchorSideTop.Control'#7#9
|
+'w1'#22'AnchorSideLeft.Control'#7#9'GroupBox1'#21'AnchorSideTop.Control'#7#9
|
||||||
+'GroupBox1'#24'AnchorSideBottom.Control'#7#9'GroupBox1'#21'AnchorSideBottom.'
|
+'GroupBox1'#24'AnchorSideBottom.Control'#7#9'GroupBox1'#21'AnchorSideBottom.'
|
||||||
+'Side'#7#9'asrBottom'#4'Left'#2#5#6'Height'#3#163#0#3'Top'#2#5#5'Width'#3#160
|
+'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'BorderSpacin'
|
+#0#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#18'BorderSpacin'
|
||||||
+'g.Left'#2#5#17'BorderSpacing.Top'#2#5#20'BorderSpacing.Bottom'#2#5#17'Defau'
|
+'g.Left'#2#5#17'BorderSpacing.Top'#2#5#20'BorderSpacing.Bottom'#2#5#17'Defau'
|
||||||
+'ltItemHeight'#2#19#13'HideSelection'#8#8'ReadOnly'#9#8'TabOrder'#2#0#18'OnS'
|
+'ltItemHeight'#2#17#13'HideSelection'#8#8'ReadOnly'#9#8'TabOrder'#2#0#18'OnS'
|
||||||
+'electionChanged'#7#25'TreeView1SelectionChanged'#7'Options'#11#17'tvoAutoIt'
|
+'electionChanged'#7#25'TreeView1SelectionChanged'#7'Options'#11#17'tvoAutoIt'
|
||||||
+'emHeight'#21'tvoKeepCollapsedNodes'#11'tvoReadOnly'#14'tvoShowButtons'#12't'
|
+'emHeight'#21'tvoKeepCollapsedNodes'#11'tvoReadOnly'#14'tvoShowButtons'#12't'
|
||||||
+'voShowLines'#11'tvoShowRoot'#11'tvoToolTips'#0#0#0#7'TButton'#10'BtnNewItem'
|
+'voShowLines'#11'tvoShowRoot'#11'tvoToolTips'#0#0#0#7'TButton'#10'BtnNewItem'
|
||||||
@ -67,35 +67,34 @@ LazarusResources.Add('TListViewItemsEditorForm','FORMDATA',[
|
|||||||
+'ox2'#22'AnchorSideLeft.Control'#7#9'GroupBox1'#19'AnchorSideLeft.Side'#7#9
|
+'ox2'#22'AnchorSideLeft.Control'#7#9'GroupBox1'#19'AnchorSideLeft.Side'#7#9
|
||||||
,'asrBottom'#21'AnchorSideTop.Control'#7#5'Owner'#23'AnchorSideRight.Control'
|
,'asrBottom'#21'AnchorSideTop.Control'#7#5'Owner'#23'AnchorSideRight.Control'
|
||||||
+#7#5'Owner'#20'AnchorSideRight.Side'#7#9'asrBottom'#24'AnchorSideBottom.Cont'
|
+#7#5'Owner'#20'AnchorSideRight.Side'#7#9'asrBottom'#24'AnchorSideBottom.Cont'
|
||||||
+'rol'#7#5'BtnOK'#4'Left'#3'3'#1#6'Height'#3#192#0#3'Top'#2#6#5'Width'#3#197#0
|
+'rol'#7#5'BtnOK'#4'Left'#3'3'#1#6'Height'#3#202#0#3'Top'#2#6#5'Width'#3#197#0
|
||||||
+#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#20'BorderSpacing.'
|
+#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#173#0#11'Cl'
|
+'Around'#2#6#7'Caption'#6#15'Item Properties'#12'ClientHeight'#3#184#0#11'Cl'
|
||||||
+'ientWidth'#3#193#0#8'TabOrder'#2#5#0#6'TLabel'#12'LabelCaption'#22'AnchorSi'
|
+'ientWidth'#3#193#0#8'TabOrder'#2#5#0#6'TLabel'#12'LabelCaption'#22'AnchorSi'
|
||||||
+'deLeft.Control'#7#9'GroupBox2'#21'AnchorSideTop.Control'#7#9'GroupBox2'#4'L'
|
+'deLeft.Control'#7#9'GroupBox2'#21'AnchorSideTop.Control'#7#9'GroupBox2'#4'L'
|
||||||
+'eft'#2#6#6'Height'#2#18#3'Top'#2#6#5'Width'#2'6'#18'BorderSpacing.Left'#2#6
|
+'eft'#2#6#6'Height'#2#16#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'edt'
|
+#17'BorderSpacing.Top'#2#6#7'Caption'#6#8'Caption:'#12'FocusControl'#7#7'edt'
|
||||||
+'Text'#11'ParentColor'#8#0#0#6'TLabel'#15'LabelImageIndex'#22'AnchorSideLeft'
|
+'Text'#11'ParentColor'#8#0#0#6'TLabel'#15'LabelImageIndex'#22'AnchorSideLeft'
|
||||||
+'.Control'#7#12'LabelCaption'#21'AnchorSideTop.Control'#7#7'edtText'#18'Anch'
|
+'.Control'#7#12'LabelCaption'#21'AnchorSideTop.Control'#7#7'edtText'#18'Anch'
|
||||||
+'orSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#18#3'Top'#2'7'#5'Wid'
|
+'orSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#16#3'Top'#2'5'#5'Wid'
|
||||||
+'th'#2'S'#17'BorderSpacing.Top'#2#6#7'Caption'#6#12'Image Index:'#12'FocusCo'
|
+'th'#2'D'#17'BorderSpacing.Top'#2#6#7'Caption'#6#12'Image Index:'#12'FocusCo'
|
||||||
+'ntrol'#7#11'edtIndexImg'#11'ParentColor'#8#0#0#6'TLabel'#15'LabelStateIndex'
|
+'ntrol'#7#11'edtIndexImg'#11'ParentColor'#8#0#0#6'TLabel'#15'LabelStateIndex'
|
||||||
+#22'AnchorSideLeft.Control'#7#15'LabelImageIndex'#21'AnchorSideTop.Control'#7
|
+#22'AnchorSideLeft.Control'#7#15'LabelImageIndex'#21'AnchorSideTop.Control'#7
|
||||||
+#11'edtIndexImg'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'
|
+#11'edtIndexImg'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'
|
||||||
+#2#18#3'Top'#2'h'#5'Width'#2'N'#17'BorderSpacing.Top'#2#6#7'Caption'#6#12'St'
|
+#2#16#3'Top'#2'd'#5'Width'#2'='#17'BorderSpacing.Top'#2#6#7'Caption'#6#12'St'
|
||||||
+'ate Index:'#12'FocusControl'#7#13'edtIndexState'#11'ParentColor'#8#7'Visibl'
|
+'ate Index:'#12'FocusControl'#7#13'edtIndexState'#11'ParentColor'#8#0#0#5'TE'
|
||||||
+'e'#8#0#0#5'TEdit'#7'edtText'#22'AnchorSideLeft.Control'#7#12'LabelCaption'
|
+'dit'#7'edtText'#22'AnchorSideLeft.Control'#7#12'LabelCaption'#21'AnchorSide'
|
||||||
+#21'AnchorSideTop.Control'#7#12'LabelCaption'#18'AnchorSideTop.Side'#7#9'asr'
|
+'Top.Control'#7#12'LabelCaption'#18'AnchorSideTop.Side'#7#9'asrBottom'#23'An'
|
||||||
+'Bottom'#23'AnchorSideRight.Control'#7#9'GroupBox2'#20'AnchorSideRight.Side'
|
+'chorSideRight.Control'#7#9'GroupBox2'#20'AnchorSideRight.Side'#7#9'asrBotto'
|
||||||
+#7#9'asrBottom'#4'Left'#2#6#6'Height'#2#23#3'Top'#2#26#5'Width'#3#182#0#7'An'
|
+'m'#4'Left'#2#6#6'Height'#2#23#3'Top'#2#24#5'Width'#3#182#0#7'Anchors'#11#5
|
||||||
+'chors'#11#5'akTop'#6'akLeft'#7'akRight'#0#17'BorderSpacing.Top'#2#2#19'Bord'
|
+'akTop'#6'akLeft'#7'akRight'#0#17'BorderSpacing.Top'#2#2#19'BorderSpacing.Ri'
|
||||||
+'erSpacing.Right'#2#5#8'OnChange'#7#11'Edit1Change'#8'TabOrder'#2#0#0#0#5'TE'
|
+'ght'#2#5#8'OnChange'#7#11'Edit1Change'#8'TabOrder'#2#0#0#0#5'TEdit'#11'edtI'
|
||||||
+'dit'#11'edtIndexImg'#22'AnchorSideLeft.Control'#7#7'edtText'#21'AnchorSideT'
|
+'ndexImg'#22'AnchorSideLeft.Control'#7#7'edtText'#21'AnchorSideTop.Control'#7
|
||||||
+'op.Control'#7#15'LabelImageIndex'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'L'
|
+#15'LabelImageIndex'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6#6'Hei'
|
||||||
+'eft'#2#6#6'Height'#2#23#3'Top'#2'K'#5'Width'#2'0'#17'BorderSpacing.Top'#2#2
|
+'ght'#2#23#3'Top'#2'G'#5'Width'#2'0'#17'BorderSpacing.Top'#2#2#13'OnEditingD'
|
||||||
+#13'OnEditingDone'#7#24'edtIndexStateEditingDone'#8'TabOrder'#2#1#0#0#5'TEdi'
|
+'one'#7#24'edtIndexStateEditingDone'#8'TabOrder'#2#1#0#0#5'TEdit'#13'edtInde'
|
||||||
+'t'#13'edtIndexState'#22'AnchorSideLeft.Control'#7#11'edtIndexImg'#21'Anchor'
|
+'xState'#22'AnchorSideLeft.Control'#7#11'edtIndexImg'#21'AnchorSideTop.Contr'
|
||||||
+'SideTop.Control'#7#15'LabelStateIndex'#18'AnchorSideTop.Side'#7#9'asrBottom'
|
+'ol'#7#15'LabelStateIndex'#18'AnchorSideTop.Side'#7#9'asrBottom'#4'Left'#2#6
|
||||||
+#4'Left'#2#6#6'Height'#2#23#3'Top'#2'|'#5'Width'#2'0'#17'BorderSpacing.Top'#2
|
+#6'Height'#2#23#3'Top'#2'v'#5'Width'#2'0'#17'BorderSpacing.Top'#2#2#13'OnEdi'
|
||||||
+#2#13'OnEditingDone'#7#24'edtIndexStateEditingDone'#8'TabOrder'#2#2#7'Visibl'
|
+'tingDone'#7#24'edtIndexStateEditingDone'#8'TabOrder'#2#2#0#0#0#0
|
||||||
+'e'#8#0#0#0#0
|
|
||||||
]);
|
]);
|
||||||
|
@ -201,6 +201,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
TreeView1.Selected.ImageIndex := StrToIntDef(edtIndexImg.Text, -1);
|
TreeView1.Selected.ImageIndex := StrToIntDef(edtIndexImg.Text, -1);
|
||||||
TreeView1.Selected.StateIndex := StrToIntDef(edtIndexState.Text, -1);
|
TreeView1.Selected.StateIndex := StrToIntDef(edtIndexState.Text, -1);
|
||||||
|
TreeView1.Selected.SelectedIndex := TreeView1.Selected.ImageIndex;
|
||||||
|
|
||||||
edtIndexImg.Text := IntToStr(TreeView1.Selected.ImageIndex);
|
edtIndexImg.Text := IntToStr(TreeView1.Selected.ImageIndex);
|
||||||
edtIndexState.Text := IntToStr(TreeView1.Selected.StateIndex);
|
edtIndexState.Text := IntToStr(TreeView1.Selected.StateIndex);
|
||||||
@ -228,7 +229,8 @@ begin
|
|||||||
with Node do
|
with Node do
|
||||||
begin
|
begin
|
||||||
ImageIndex := AListView.Items[I].ImageIndex;
|
ImageIndex := AListView.Items[I].ImageIndex;
|
||||||
//StateIndex := AListView.Items[I].StateIndex;
|
StateIndex := AListView.Items[I].StateIndex;
|
||||||
|
SelectedIndex := ImageIndex;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
//SubItems
|
//SubItems
|
||||||
@ -269,7 +271,7 @@ begin
|
|||||||
Item := FListView.Items.Add;
|
Item := FListView.Items.Add;
|
||||||
Item.Caption := Node.Text;
|
Item.Caption := Node.Text;
|
||||||
Item.ImageIndex := Node.ImageIndex;
|
Item.ImageIndex := Node.ImageIndex;
|
||||||
//Item.StateIndex := Node.StateIndex;
|
Item.StateIndex := Node.StateIndex;
|
||||||
|
|
||||||
//SubItems
|
//SubItems
|
||||||
for J := 0 to Node.Count - 1 do
|
for J := 0 to Node.Count - 1 do
|
||||||
|
Loading…
Reference in New Issue
Block a user