lazarus/ideintf/listviewpropedit.lfm
mattias 0b5eb8d4a6 IDEIntf: improved listview editor layout
git-svn-id: trunk@23776 -
2010-02-24 15:20:00 +00:00

277 lines
7.0 KiB
Plaintext

object ListViewItemsEditorForm: TListViewItemsEditorForm
Left = 293
Height = 300
Top = 179
Width = 525
ActiveControl = BtnNewItem
BorderIcons = [biSystemMenu, biHelp]
Caption = 'ListView Items Editor'
ClientHeight = 300
ClientWidth = 525
Constraints.MinHeight = 200
Constraints.MinWidth = 400
OnCreate = FormCreate
Position = poScreenCenter
LCLVersion = '0.9.29'
object GroupBox1: TGroupBox
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner
AnchorSideBottom.Control = BtnPanel
Left = 6
Height = 247
Top = 6
Width = 295
Anchors = [akTop, akLeft, akBottom]
BorderSpacing.Around = 6
Caption = 'Items'
ClientHeight = 228
ClientWidth = 291
TabOrder = 0
object TreeView1: TTreeView
AnchorSideLeft.Control = GroupBox1
AnchorSideTop.Control = GroupBox1
AnchorSideBottom.Control = GroupBox1
AnchorSideBottom.Side = asrBottom
Left = 5
Height = 218
Top = 5
Width = 160
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Left = 5
BorderSpacing.Top = 5
BorderSpacing.Bottom = 5
DefaultItemHeight = 19
HideSelection = False
ReadOnly = True
TabOrder = 0
OnSelectionChanged = TreeView1SelectionChanged
Options = [tvoAutoItemHeight, tvoKeepCollapsedNodes, tvoReadOnly, tvoShowButtons, tvoShowLines, tvoShowRoot, tvoToolTips]
end
object BtnNewItem: TButton
Tag = 1
AnchorSideLeft.Control = TreeView1
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = GroupBox1
AnchorSideRight.Control = GroupBox1
AnchorSideRight.Side = asrBottom
Left = 171
Height = 25
Top = 6
Width = 114
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Around = 6
Caption = '&New Item'
Default = True
OnClick = BtnNewItemClick
TabOrder = 1
end
object BtnNewSubItem: TButton
AnchorSideLeft.Control = TreeView1
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = BtnNewItem
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = GroupBox1
AnchorSideRight.Side = asrBottom
Left = 171
Height = 25
Top = 37
Width = 114
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Around = 6
Caption = 'N&ew SubItem'
OnClick = BtnNewItemClick
TabOrder = 2
end
object BtnDelete: TButton
AnchorSideLeft.Control = TreeView1
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = BtnNewSubItem
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = GroupBox1
AnchorSideRight.Side = asrBottom
Left = 171
Height = 25
Top = 68
Width = 114
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Around = 6
Caption = '&Delete'
OnClick = btnDeleteClick
TabOrder = 3
end
end
object GroupBox2: TGroupBox
AnchorSideLeft.Control = GroupBox1
AnchorSideLeft.Side = asrBottom
AnchorSideTop.Control = Owner
AnchorSideRight.Control = Owner
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = BtnPanel
Left = 307
Height = 247
Top = 6
Width = 212
Anchors = [akTop, akLeft, akRight, akBottom]
BorderSpacing.Around = 6
Caption = 'Item Properties'
ClientHeight = 228
ClientWidth = 208
TabOrder = 1
object LabelCaption: TLabel
AnchorSideLeft.Control = GroupBox2
AnchorSideTop.Control = GroupBox2
Left = 6
Height = 18
Top = 6
Width = 55
BorderSpacing.Left = 6
BorderSpacing.Top = 6
Caption = 'Caption:'
FocusControl = edtText
ParentColor = False
end
object LabelImageIndex: TLabel
AnchorSideLeft.Control = LabelCaption
AnchorSideTop.Control = edtText
AnchorSideTop.Side = asrBottom
Left = 6
Height = 18
Top = 59
Width = 86
BorderSpacing.Top = 6
Caption = 'Image Index:'
FocusControl = edtIndexImg
ParentColor = False
end
object LabelStateIndex: TLabel
AnchorSideLeft.Control = LabelImageIndex
AnchorSideTop.Control = edtIndexImg
AnchorSideTop.Side = asrBottom
Left = 6
Height = 18
Top = 112
Width = 79
BorderSpacing.Top = 6
Caption = 'State Index:'
FocusControl = edtIndexState
ParentColor = False
end
object edtText: TEdit
AnchorSideLeft.Control = LabelCaption
AnchorSideTop.Control = LabelCaption
AnchorSideTop.Side = asrBottom
AnchorSideRight.Control = GroupBox2
AnchorSideRight.Side = asrBottom
Left = 6
Height = 27
Top = 26
Width = 197
Anchors = [akTop, akLeft, akRight]
BorderSpacing.Top = 2
BorderSpacing.Right = 5
OnChange = Edit1Change
TabOrder = 0
end
object edtIndexImg: TEdit
AnchorSideLeft.Control = edtText
AnchorSideTop.Control = LabelImageIndex
AnchorSideTop.Side = asrBottom
Left = 6
Height = 27
Top = 79
Width = 48
BorderSpacing.Top = 2
OnEditingDone = edtIndexStateEditingDone
TabOrder = 1
end
object edtIndexState: TEdit
AnchorSideLeft.Control = edtIndexImg
AnchorSideTop.Control = LabelStateIndex
AnchorSideTop.Side = asrBottom
Left = 6
Height = 27
Top = 132
Width = 48
BorderSpacing.Top = 2
OnEditingDone = edtIndexStateEditingDone
TabOrder = 2
end
end
object BtnPanel: TPanel
Left = 0
Height = 41
Top = 259
Width = 525
Align = alBottom
AutoSize = True
BevelOuter = bvNone
ClientHeight = 41
ClientWidth = 525
TabOrder = 2
object BtnHelp: TBitBtn
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Side = asrBottom
Left = 6
Height = 29
Top = 6
Width = 75
Align = alLeft
AutoSize = True
BorderSpacing.Around = 6
Caption = '&Help'
Constraints.MinWidth = 75
Kind = bkHelp
NumGlyphs = 0
TabOrder = 0
end
object BtnOK: TBitBtn
AnchorSideBottom.Side = asrBottom
Left = 282
Height = 29
Top = 6
Width = 75
Align = alRight
AutoSize = True
BorderSpacing.Around = 6
Caption = '&OK'
Constraints.MinWidth = 75
Kind = bkOK
ModalResult = 1
NumGlyphs = 0
TabOrder = 1
end
object BtnCancel: TBitBtn
AnchorSideBottom.Side = asrBottom
Left = 363
Height = 29
Top = 6
Width = 75
Align = alRight
AutoSize = True
BorderSpacing.Around = 6
Cancel = True
Caption = 'Cancel'
Constraints.MinWidth = 75
Kind = bkCancel
ModalResult = 2
NumGlyphs = 0
TabOrder = 2
end
object BtnApply: TBitBtn
AnchorSideBottom.Side = asrBottom
Left = 444
Height = 29
Top = 6
Width = 75
Align = alRight
AutoSize = True
BorderSpacing.Around = 6
Caption = '&Apply'
Constraints.MinWidth = 75
NumGlyphs = 0
OnClick = btnApplyClick
TabOrder = 3
end
end
end