Editor options / mouse conf: allow double click, to edit

git-svn-id: trunk@20368 -
This commit is contained in:
martin 2009-06-03 11:49:54 +00:00
parent 144b067c3e
commit 4b73160afa
2 changed files with 49 additions and 48 deletions

View File

@ -9,18 +9,18 @@ inherited EditorMouseOptionsFrame: TEditorMouseOptionsFrame
DesignTop = 193 DesignTop = 193
object p2: TPanel[0] object p2: TPanel[0]
Left = 0 Left = 0
Height = 380 Height = 378
Top = 0 Top = 0
Width = 610 Width = 610
Align = alClient Align = alClient
BevelOuter = bvNone BevelOuter = bvNone
ClientHeight = 380 ClientHeight = 378
ClientWidth = 610 ClientWidth = 610
TabOrder = 0 TabOrder = 0
object ActionGrid: TStringGrid object ActionGrid: TStringGrid
AnchorSideBottom.Control = p3 AnchorSideBottom.Control = p3
Left = 135 Left = 135
Height = 380 Height = 378
Top = 0 Top = 0
Width = 475 Width = 475
Align = alClient Align = alClient
@ -31,18 +31,19 @@ inherited EditorMouseOptionsFrame: TEditorMouseOptionsFrame
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goColSizing, goRowSelect, goSmoothScroll] Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goColSizing, goRowSelect, goSmoothScroll]
RowCount = 1 RowCount = 1
TabOrder = 0 TabOrder = 0
OnDblClick = UpdateButtonClick
OnHeaderSized = ActionGridHeaderSized OnHeaderSized = ActionGridHeaderSized
OnResize = ActionGridResize OnResize = ActionGridResize
end end
object ContextTree: TTreeView object ContextTree: TTreeView
Left = 0 Left = 0
Height = 380 Height = 378
Top = 0 Top = 0
Width = 130 Width = 130
Align = alLeft Align = alLeft
AutoExpand = True AutoExpand = True
Constraints.MinWidth = 25 Constraints.MinWidth = 25
DefaultItemHeight = 15 DefaultItemHeight = 17
ReadOnly = True ReadOnly = True
TabOrder = 1 TabOrder = 1
OnChange = ContextTreeChange OnChange = ContextTreeChange
@ -50,7 +51,7 @@ inherited EditorMouseOptionsFrame: TEditorMouseOptionsFrame
end end
object Splitter1: TSplitter object Splitter1: TSplitter
Left = 130 Left = 130
Height = 380 Height = 378
Top = 0 Top = 0
Width = 5 Width = 5
MinSize = 25 MinSize = 25
@ -62,22 +63,22 @@ inherited EditorMouseOptionsFrame: TEditorMouseOptionsFrame
AnchorSideBottom.Control = p2 AnchorSideBottom.Control = p2
AnchorSideBottom.Side = asrBottom AnchorSideBottom.Side = asrBottom
Left = 0 Left = 0
Height = 35 Height = 37
Top = 380 Top = 378
Width = 610 Width = 610
Align = alBottom Align = alBottom
AutoSize = True AutoSize = True
BevelOuter = bvNone BevelOuter = bvNone
ClientHeight = 35 ClientHeight = 37
ClientWidth = 610 ClientWidth = 610
TabOrder = 1 TabOrder = 1
object DelButton: TButton object DelButton: TButton
AnchorSideLeft.Control = p3 AnchorSideLeft.Control = p3
AnchorSideTop.Control = p3 AnchorSideTop.Control = p3
Left = 0 Left = 0
Height = 23 Height = 25
Top = 6 Top = 6
Width = 73 Width = 79
AutoSize = True AutoSize = True
BorderSpacing.Top = 6 BorderSpacing.Top = 6
Caption = 'DelButton' Caption = 'DelButton'
@ -88,10 +89,10 @@ inherited EditorMouseOptionsFrame: TEditorMouseOptionsFrame
AnchorSideTop.Control = UpdateButton AnchorSideTop.Control = UpdateButton
AnchorSideRight.Control = p3 AnchorSideRight.Control = p3
AnchorSideRight.Side = asrBottom AnchorSideRight.Side = asrBottom
Left = 512 Left = 502
Height = 23 Height = 25
Top = 6 Top = 6
Width = 98 Width = 108
Anchors = [akTop, akRight] Anchors = [akTop, akRight]
AutoSize = True AutoSize = True
Caption = 'AddNewButton' Caption = 'AddNewButton'
@ -101,10 +102,10 @@ inherited EditorMouseOptionsFrame: TEditorMouseOptionsFrame
object UpdateButton: TButton object UpdateButton: TButton
AnchorSideTop.Control = p3 AnchorSideTop.Control = p3
AnchorSideRight.Control = AddNewButton AnchorSideRight.Control = AddNewButton
Left = 413 Left = 396
Height = 23 Height = 25
Top = 6 Top = 6
Width = 93 Width = 100
Anchors = [akTop, akRight] Anchors = [akTop, akRight]
AutoSize = True AutoSize = True
BorderSpacing.Top = 6 BorderSpacing.Top = 6

View File

@ -4,39 +4,39 @@ LazarusResources.Add('TEditorMouseOptionsFrame','FORMDATA',[
'TPF0'#241#24'TEditorMouseOptionsFrame'#23'EditorMouseOptionsFrame'#6'Height' 'TPF0'#241#24'TEditorMouseOptionsFrame'#23'EditorMouseOptionsFrame'#6'Height'
+#3#159#1#5'Width'#3'b'#2#7'Anchors'#11#5'akTop'#0#12'ClientHeight'#3#159#1#11 +#3#159#1#5'Width'#3'b'#2#7'Anchors'#11#5'akTop'#0#12'ClientHeight'#3#159#1#11
+'ClientWidth'#3'b'#2#7'Visible'#8#10'DesignLeft'#3#165#1#9'DesignTop'#3#193#0 +'ClientWidth'#3'b'#2#7'Visible'#8#10'DesignLeft'#3#165#1#9'DesignTop'#3#193#0
+#0#242#2#0#6'TPanel'#2'p2'#4'Left'#2#0#6'Height'#3'|'#1#3'Top'#2#0#5'Width'#3 +#0#242#2#0#6'TPanel'#2'p2'#4'Left'#2#0#6'Height'#3'z'#1#3'Top'#2#0#5'Width'#3
+'b'#2#5'Align'#7#8'alClient'#10'BevelOuter'#7#6'bvNone'#12'ClientHeight'#3'|' +'b'#2#5'Align'#7#8'alClient'#10'BevelOuter'#7#6'bvNone'#12'ClientHeight'#3'z'
+#1#11'ClientWidth'#3'b'#2#8'TabOrder'#2#0#0#11'TStringGrid'#10'ActionGrid'#24 +#1#11'ClientWidth'#3'b'#2#8'TabOrder'#2#0#0#11'TStringGrid'#10'ActionGrid'#24
+'AnchorSideBottom.Control'#7#2'p3'#4'Left'#3#135#0#6'Height'#3'|'#1#3'Top'#2 +'AnchorSideBottom.Control'#7#2'p3'#4'Left'#3#135#0#6'Height'#3'z'#1#3'Top'#2
+#0#5'Width'#3#219#1#5'Align'#7#8'alClient'#8'AutoEdit'#8#8'ColCount'#2#8#14 +#0#5'Width'#3#219#1#5'Align'#7#8'alClient'#8'AutoEdit'#8#8'ColCount'#2#8#14
+'ExtendedSelect'#8#9'FixedCols'#2#0#7'Options'#11#15'goFixedVertLine'#15'goF' +'ExtendedSelect'#8#9'FixedCols'#2#0#7'Options'#11#15'goFixedVertLine'#15'goF'
+'ixedHorzLine'#10'goVertLine'#10'goHorzLine'#13'goRangeSelect'#11'goColSizin' +'ixedHorzLine'#10'goVertLine'#10'goHorzLine'#13'goRangeSelect'#11'goColSizin'
+'g'#11'goRowSelect'#14'goSmoothScroll'#0#8'RowCount'#2#1#8'TabOrder'#2#0#13 +'g'#11'goRowSelect'#14'goSmoothScroll'#0#8'RowCount'#2#1#8'TabOrder'#2#0#10
+'OnHeaderSized'#7#21'ActionGridHeaderSized'#8'OnResize'#7#16'ActionGridResiz' +'OnDblClick'#7#17'UpdateButtonClick'#13'OnHeaderSized'#7#21'ActionGridHeader'
+'e'#0#0#9'TTreeView'#11'ContextTree'#4'Left'#2#0#6'Height'#3'|'#1#3'Top'#2#0 +'Sized'#8'OnResize'#7#16'ActionGridResize'#0#0#9'TTreeView'#11'ContextTree'#4
+#5'Width'#3#130#0#5'Align'#7#6'alLeft'#10'AutoExpand'#9#20'Constraints.MinWi' +'Left'#2#0#6'Height'#3'z'#1#3'Top'#2#0#5'Width'#3#130#0#5'Align'#7#6'alLeft'
+'dth'#2#25#17'DefaultItemHeight'#2#15#8'ReadOnly'#9#8'TabOrder'#2#1#8'OnChan' +#10'AutoExpand'#9#20'Constraints.MinWidth'#2#25#17'DefaultItemHeight'#2#17#8
+'ge'#7#17'ContextTreeChange'#7'Options'#11#13'tvoAutoExpand'#17'tvoAutoItemH' +'ReadOnly'#9#8'TabOrder'#2#1#8'OnChange'#7#17'ContextTreeChange'#7'Options'
+'eight'#16'tvoHideSelection'#21'tvoKeepCollapsedNodes'#11'tvoReadOnly'#14'tv' +#11#13'tvoAutoExpand'#17'tvoAutoItemHeight'#16'tvoHideSelection'#21'tvoKeepC'
+'oShowButtons'#12'tvoShowLines'#11'tvoShowRoot'#11'tvoToolTips'#0#0#0#9'TSpl' +'ollapsedNodes'#11'tvoReadOnly'#14'tvoShowButtons'#12'tvoShowLines'#11'tvoSh'
+'itter'#9'Splitter1'#4'Left'#3#130#0#6'Height'#3'|'#1#3'Top'#2#0#5'Width'#2#5 +'owRoot'#11'tvoToolTips'#0#0#0#9'TSplitter'#9'Splitter1'#4'Left'#3#130#0#6'H'
+#7'MinSize'#2#25#0#0#0#242#2#1#6'TPanel'#2'p3'#23'AnchorSideRight.Control'#7 +'eight'#3'z'#1#3'Top'#2#0#5'Width'#2#5#7'MinSize'#2#25#0#0#0#242#2#1#6'TPane'
+#2'p2'#20'AnchorSideRight.Side'#7#9'asrBottom'#24'AnchorSideBottom.Control'#7 +'l'#2'p3'#23'AnchorSideRight.Control'#7#2'p2'#20'AnchorSideRight.Side'#7#9'a'
+#2'p2'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#2#0#6'Height'#2'#'#3 +'srBottom'#24'AnchorSideBottom.Control'#7#2'p2'#21'AnchorSideBottom.Side'#7#9
+'Top'#3'|'#1#5'Width'#3'b'#2#5'Align'#7#8'alBottom'#8'AutoSize'#9#10'BevelOu' +'asrBottom'#4'Left'#2#0#6'Height'#2'%'#3'Top'#3'z'#1#5'Width'#3'b'#2#5'Align'
+'ter'#7#6'bvNone'#12'ClientHeight'#2'#'#11'ClientWidth'#3'b'#2#8'TabOrder'#2 +#7#8'alBottom'#8'AutoSize'#9#10'BevelOuter'#7#6'bvNone'#12'ClientHeight'#2'%'
+#1#0#7'TButton'#9'DelButton'#22'AnchorSideLeft.Control'#7#2'p3'#21'AnchorSid' +#11'ClientWidth'#3'b'#2#8'TabOrder'#2#1#0#7'TButton'#9'DelButton'#22'AnchorS'
+'eTop.Control'#7#2'p3'#4'Left'#2#0#6'Height'#2#23#3'Top'#2#6#5'Width'#2'I'#8 +'ideLeft.Control'#7#2'p3'#21'AnchorSideTop.Control'#7#2'p3'#4'Left'#2#0#6'He'
+'AutoSize'#9#17'BorderSpacing.Top'#2#6#7'Caption'#6#9'DelButton'#7'OnClick'#7 +'ight'#2#25#3'Top'#2#6#5'Width'#2'O'#8'AutoSize'#9#17'BorderSpacing.Top'#2#6
+#14'DelButtonClick'#8'TabOrder'#2#2#0#0#7'TButton'#12'AddNewButton'#21'Ancho' +#7'Caption'#6#9'DelButton'#7'OnClick'#7#14'DelButtonClick'#8'TabOrder'#2#2#0
+'rSideTop.Control'#7#12'UpdateButton'#23'AnchorSideRight.Control'#7#2'p3'#20 +#0#7'TButton'#12'AddNewButton'#21'AnchorSideTop.Control'#7#12'UpdateButton'
+'AnchorSideRight.Side'#7#9'asrBottom'#4'Left'#3#0#2#6'Height'#2#23#3'Top'#2#6 +#23'AnchorSideRight.Control'#7#2'p3'#20'AnchorSideRight.Side'#7#9'asrBottom'
+#5'Width'#2'b'#7'Anchors'#11#5'akTop'#7'akRight'#0#8'AutoSize'#9#7'Caption'#6 +#4'Left'#3#246#1#6'Height'#2#25#3'Top'#2#6#5'Width'#2'l'#7'Anchors'#11#5'akT'
+#12'AddNewButton'#7'OnClick'#7#17'AddNewButtonClick'#8'TabOrder'#2#0#0#0#7'T' +'op'#7'akRight'#0#8'AutoSize'#9#7'Caption'#6#12'AddNewButton'#7'OnClick'#7#17
+'Button'#12'UpdateButton'#21'AnchorSideTop.Control'#7#2'p3'#23'AnchorSideRig' +'AddNewButtonClick'#8'TabOrder'#2#0#0#0#7'TButton'#12'UpdateButton'#21'Ancho'
+'ht.Control'#7#12'AddNewButton'#4'Left'#3#157#1#6'Height'#2#23#3'Top'#2#6#5 +'rSideTop.Control'#7#2'p3'#23'AnchorSideRight.Control'#7#12'AddNewButton'#4
+'Width'#2']'#7'Anchors'#11#5'akTop'#7'akRight'#0#8'AutoSize'#9#17'BorderSpac' +'Left'#3#140#1#6'Height'#2#25#3'Top'#2#6#5'Width'#2'd'#7'Anchors'#11#5'akTop'
+'ing.Top'#2#6#19'BorderSpacing.Right'#2#6#20'BorderSpacing.Bottom'#2#6#7'Cap' +#7'akRight'#0#8'AutoSize'#9#17'BorderSpacing.Top'#2#6#19'BorderSpacing.Right'
+'tion'#6#12'UpdateButton'#7'OnClick'#7#17'UpdateButtonClick'#8'TabOrder'#2#1 +#2#6#20'BorderSpacing.Bottom'#2#6#7'Caption'#6#12'UpdateButton'#7'OnClick'#7
+#0#0#0#0 +#17'UpdateButtonClick'#8'TabOrder'#2#1#0#0#0#0
]); ]);