From 8bc50ecdc6ecdf9bffc684e525f84bc22f9ef1a8 Mon Sep 17 00:00:00 2001 From: micha Date: Sun, 1 May 2005 13:31:11 +0000 Subject: [PATCH] unset allowgrayed for show old taborder checkbox git-svn-id: trunk@7121 - --- designer/taborderdlg.lfm | 40 ++++++++++++++++--------------- designer/taborderdlg.lrs | 52 +++++++++++++++++++++------------------- 2 files changed, 48 insertions(+), 44 deletions(-) diff --git a/designer/taborderdlg.lfm b/designer/taborderdlg.lfm index b521ea6970..cadca5bf8f 100644 --- a/designer/taborderdlg.lfm +++ b/designer/taborderdlg.lfm @@ -4,14 +4,16 @@ object TabOrderDialog: TTabOrderDialog ClientWidth = 310 OnClose = TabOrderDialogCLOSE OnCreate = TabOrderDialogCREATE - HorzScrollBar.Page = 311 - VertScrollBar.Page = 388 + PixelsPerInch = 96 + HorzScrollBar.Page = 309 + VertScrollBar.Page = 386 Left = 381 Height = 387 Top = 167 Width = 310 object UpSpeedbutton: TSpeedButton - Anchors = [AKTOP, AKRIGHT] + Anchors = [akTop, akRight] + BorderSpacing.OnChange = nil NumGlyphs = 0 OnClick = UpSpeedbuttonCLICK ShowHint = True @@ -23,7 +25,8 @@ object TabOrderDialog: TTabOrderDialog Width = 25 end object DownSpeedbutton: TSpeedButton - Anchors = [AKTOP, AKRIGHT] + Anchors = [akTop, akRight] + BorderSpacing.OnChange = nil NumGlyphs = 0 OnClick = DownSpeedbuttonCLICK ShowHint = True @@ -35,21 +38,23 @@ object TabOrderDialog: TTabOrderDialog Width = 25 end object OkButton: TButton - Anchors = [AKRIGHT, AKBOTTOM] + Anchors = [akRight, akBottom] + BorderSpacing.OnChange = nil Caption = 'Ok' - TabStop = True - TabOrder = 0 + Default = True OnClick = OkButtonCLICK + TabOrder = 0 Left = 120 Height = 25 Top = 350 Width = 75 end object CancelButton: TButton - Anchors = [AKRIGHT, AKBOTTOM] - ModalResult = 2 + Anchors = [akRight, akBottom] + BorderSpacing.OnChange = nil + Cancel = True Caption = 'Cancel' - TabStop = True + ModalResult = 2 TabOrder = 1 Left = 216 Height = 25 @@ -57,28 +62,25 @@ object TabOrderDialog: TTabOrderDialog Width = 75 end object ItemTreeview: TTreeView - Anchors = [AKTOP, AKLEFT, AKRIGHT, AKBOTTOM] - DefaultItemHeight = 17 - DragCursor = 65524 + Anchors = [akTop, akLeft, akRight, akBottom] + BorderSpacing.OnChange = nil + DefaultItemHeight = 15 HideSelection = False ParentCtl3D = False RightClickSelect = True TabOrder = 2 - Options = [TVOAUTOITEMHEIGHT, TVOKEEPCOLLAPSEDNODES, TVORIGHTCLICKSELECT, TVOSHOWBUTTONS, TVOSHOWLINES, TVOSHOWROOT, TVOTOOLTIPS] + Options = [tvoAutoItemHeight, tvoKeepCollapsedNodes, tvoRightClickSelect, tvoShowButtons, tvoShowLines, tvoShowRoot, tvoToolTips] Left = 9 Height = 304 Top = 8 Width = 238 end object ShowOldValuesCheckbox: TCheckBox - AllowGrayed = True - Anchors = [AKLEFT, AKBOTTOM] - AutoSize = True + Anchors = [akLeft, akBottom] + BorderSpacing.OnChange = nil Caption = 'ShowOldValuesCheckbox' - DragCursor = 65524 OnClick = ShowOldValuesCheckboxCLICK TabOrder = 3 - TabStop = True Left = 9 Height = 20 Top = 320 diff --git a/designer/taborderdlg.lrs b/designer/taborderdlg.lrs index b8b1400b41..f4bab26f2d 100644 --- a/designer/taborderdlg.lrs +++ b/designer/taborderdlg.lrs @@ -3,29 +3,31 @@ LazarusResources.Add('TTabOrderDialog','FORMDATA',[ 'TPF0'#15'TTabOrderDialog'#14'TabOrderDialog'#7'Caption'#6#14'TabOrderDialog' +#12'ClientHeight'#3#131#1#11'ClientWidth'#3'6'#1#7'OnClose'#7#19'TabOrderDia' - +'logCLOSE'#8'OnCreate'#7#20'TabOrderDialogCREATE'#18'HorzScrollBar.Page'#3'7' - +#1#18'VertScrollBar.Page'#3#132#1#4'Left'#3'}'#1#6'Height'#3#131#1#3'Top'#3 - +#167#0#5'Width'#3'6'#1#0#12'TSpeedButton'#13'UpSpeedbutton'#7'Anchors'#11#5 - +'AKTOP'#7'AKRIGHT'#0#9'NumGlyphs'#2#0#7'OnClick'#7#18'UpSpeedbuttonCLICK'#8 - +'ShowHint'#9#14'ParentShowHint'#8#4'Left'#3#9#1#6'Height'#2#25#4'Hint'#6#7'M' - +'ove Up'#3'Top'#2'w'#5'Width'#2#25#0#0#12'TSpeedButton'#15'DownSpeedbutton'#7 - +'Anchors'#11#5'AKTOP'#7'AKRIGHT'#0#9'NumGlyphs'#2#0#7'OnClick'#7#20'DownSpee' - +'dbuttonCLICK'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#3#9#1#6'Height'#2 - +#25#4'Hint'#6#9'Move Down'#3'Top'#3#165#0#5'Width'#2#25#0#0#7'TButton'#8'OkB' - +'utton'#7'Anchors'#11#7'AKRIGHT'#8'AKBOTTOM'#0#7'Caption'#6#2'Ok'#7'TabStop' - +#9#8'TabOrder'#2#0#7'OnClick'#7#13'OkButtonCLICK'#4'Left'#2'x'#6'Height'#2#25 - +#3'Top'#3'^'#1#5'Width'#2'K'#0#0#7'TButton'#12'CancelButton'#7'Anchors'#11#7 - +'AKRIGHT'#8'AKBOTTOM'#0#11'ModalResult'#2#2#7'Caption'#6#6'Cancel'#7'TabStop' - +#9#8'TabOrder'#2#1#4'Left'#3#216#0#6'Height'#2#25#3'Top'#3'^'#1#5'Width'#2'K' - +#0#0#9'TTreeView'#12'ItemTreeview'#7'Anchors'#11#5'AKTOP'#6'AKLEFT'#7'AKRIGH' - +'T'#8'AKBOTTOM'#0#17'DefaultItemHeight'#2#17#10'DragCursor'#4#244#255#0#0#13 - +'HideSelection'#8#11'ParentCtl3D'#8#16'RightClickSelect'#9#8'TabOrder'#2#2#7 - +'Options'#11#17'TVOAUTOITEMHEIGHT'#21'TVOKEEPCOLLAPSEDNODES'#19'TVORIGHTCLIC' - +'KSELECT'#14'TVOSHOWBUTTONS'#12'TVOSHOWLINES'#11'TVOSHOWROOT'#11'TVOTOOLTIPS' - +#0#4'Left'#2#9#6'Height'#3'0'#1#3'Top'#2#8#5'Width'#3#238#0#0#0#9'TCheckBox' - +#21'ShowOldValuesCheckbox'#11'AllowGrayed'#9#7'Anchors'#11#6'AKLEFT'#8'AKBOT' - +'TOM'#0#8'AutoSize'#9#7'Caption'#6#21'ShowOldValuesCheckbox'#10'DragCursor'#4 - +#244#255#0#0#7'OnClick'#7#26'ShowOldValuesCheckboxCLICK'#8'TabOrder'#2#3#7'T' - +'abStop'#9#4'Left'#2#9#6'Height'#2#20#3'Top'#3'@'#1#5'Width'#3#171#0#0#0#10 - +'TImageList'#10'Imagelist1'#4'left'#2'8'#3'top'#3#4#1#0#0#0 + +'logCLOSE'#8'OnCreate'#7#20'TabOrderDialogCREATE'#13'PixelsPerInch'#2'`'#18 + +'HorzScrollBar.Page'#3'5'#1#18'VertScrollBar.Page'#3#130#1#4'Left'#3'}'#1#6 + +'Height'#3#131#1#3'Top'#3#167#0#5'Width'#3'6'#1#0#12'TSpeedButton'#13'UpSpee' + +'dbutton'#7'Anchors'#11#5'akTop'#7'akRight'#0#22'BorderSpacing.OnChange'#13#9 + +'NumGlyphs'#2#0#7'OnClick'#7#18'UpSpeedbuttonCLICK'#8'ShowHint'#9#14'ParentS' + +'howHint'#8#4'Left'#3#9#1#6'Height'#2#25#4'Hint'#6#7'Move Up'#3'Top'#2'w'#5 + +'Width'#2#25#0#0#12'TSpeedButton'#15'DownSpeedbutton'#7'Anchors'#11#5'akTop' + +#7'akRight'#0#22'BorderSpacing.OnChange'#13#9'NumGlyphs'#2#0#7'OnClick'#7#20 + +'DownSpeedbuttonCLICK'#8'ShowHint'#9#14'ParentShowHint'#8#4'Left'#3#9#1#6'He' + +'ight'#2#25#4'Hint'#6#9'Move Down'#3'Top'#3#165#0#5'Width'#2#25#0#0#7'TButto' + +'n'#8'OkButton'#7'Anchors'#11#7'akRight'#8'akBottom'#0#22'BorderSpacing.OnCh' + +'ange'#13#7'Caption'#6#2'Ok'#7'Default'#9#7'OnClick'#7#13'OkButtonCLICK'#8'T' + +'abOrder'#2#0#4'Left'#2'x'#6'Height'#2#25#3'Top'#3'^'#1#5'Width'#2'K'#0#0#7 + +'TButton'#12'CancelButton'#7'Anchors'#11#7'akRight'#8'akBottom'#0#22'BorderS' + +'pacing.OnChange'#13#6'Cancel'#9#7'Caption'#6#6'Cancel'#11'ModalResult'#2#2#8 + +'TabOrder'#2#1#4'Left'#3#216#0#6'Height'#2#25#3'Top'#3'^'#1#5'Width'#2'K'#0#0 + +#9'TTreeView'#12'ItemTreeview'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8 + +'akBottom'#0#22'BorderSpacing.OnChange'#13#17'DefaultItemHeight'#2#15#13'Hid' + +'eSelection'#8#11'ParentCtl3D'#8#16'RightClickSelect'#9#8'TabOrder'#2#2#7'Op' + +'tions'#11#17'tvoAutoItemHeight'#21'tvoKeepCollapsedNodes'#19'tvoRightClickS' + +'elect'#14'tvoShowButtons'#12'tvoShowLines'#11'tvoShowRoot'#11'tvoToolTips'#0 + +#4'Left'#2#9#6'Height'#3'0'#1#3'Top'#2#8#5'Width'#3#238#0#0#0#9'TCheckBox'#21 + +'ShowOldValuesCheckbox'#7'Anchors'#11#6'akLeft'#8'akBottom'#0#22'BorderSpaci' + +'ng.OnChange'#13#7'Caption'#6#21'ShowOldValuesCheckbox'#7'OnClick'#7#26'Show' + +'OldValuesCheckboxCLICK'#8'TabOrder'#2#3#4'Left'#2#9#6'Height'#2#20#3'Top'#3 + +'@'#1#5'Width'#3#171#0#0#0#10'TImageList'#10'Imagelist1'#4'left'#2'8'#3'top' + +#3#4#1#0#0#0 ]);