From a77b8fdc1aec127122926edc59f39a2ce404e2e6 Mon Sep 17 00:00:00 2001 From: mattias Date: Tue, 18 Nov 2008 16:22:58 +0000 Subject: [PATCH] IDE: fixed escape key on find/rename identifier dlg git-svn-id: trunk@17426 - --- ide/findrenameidentifier.lfm | 4 +- ide/findrenameidentifier.lrs | 94 ++++++++++++++++++------------------ 2 files changed, 49 insertions(+), 49 deletions(-) diff --git a/ide/findrenameidentifier.lfm b/ide/findrenameidentifier.lfm index c7eac079ba..9d97dd0205 100644 --- a/ide/findrenameidentifier.lfm +++ b/ide/findrenameidentifier.lfm @@ -10,9 +10,8 @@ object FindRenameIdentifierDialog: TFindRenameIdentifierDialog ClientWidth = 452 OnClose = FindRenameIdentifierDialogClose OnCreate = FindRenameIdentifierDialogCreate - ParentFont = False Position = poScreenCenter - LCLVersion = '0.9.25' + LCLVersion = '0.9.27' object CurrentGroupBox: TGroupBox Left = 6 Height = 79 @@ -152,6 +151,7 @@ object FindRenameIdentifierDialog: TFindRenameIdentifierDialog Width = 101 Anchors = [akRight, akBottom] AutoSize = True + Cancel = True Caption = 'CancelButton' ModalResult = 2 NumGlyphs = 0 diff --git a/ide/findrenameidentifier.lrs b/ide/findrenameidentifier.lrs index 516a173de7..9e7a917e48 100644 --- a/ide/findrenameidentifier.lrs +++ b/ide/findrenameidentifier.lrs @@ -6,51 +6,51 @@ LazarusResources.Add('TFindRenameIdentifierDialog','FORMDATA',[ +#14'CurrentListBox'#11'BorderStyle'#7#13'bsSizeToolWin'#7'Caption'#6#26'Find' +'RenameIdentifierDialog'#12'ClientHeight'#3#212#1#11'ClientWidth'#3#196#1#7 +'OnClose'#7#31'FindRenameIdentifierDialogClose'#8'OnCreate'#7' FindRenameIde' - +'ntifierDialogCreate'#10'ParentFont'#8#8'Position'#7#14'poScreenCenter'#10'L' - +'CLVersion'#6#6'0.9.25'#0#9'TGroupBox'#15'CurrentGroupBox'#4'Left'#2#6#6'Hei' - +'ght'#2'O'#3'Top'#2#6#5'Width'#3#184#1#5'Align'#7#5'alTop'#7'Anchors'#11#5'a' - +'kTop'#6'akLeft'#7'akRight'#8'akBottom'#0#20'BorderSpacing.Around'#2#6#7'Cap' - +'tion'#6#15'CurrentGroupBox'#12'ClientHeight'#2'<'#11'ClientWidth'#3#180#1#8 - +'TabOrder'#2#0#0#8'TListBox'#14'CurrentListBox'#4'Left'#2#6#6'Height'#2'0'#3 - +'Top'#2#6#5'Width'#3#168#1#5'Align'#7#8'alClient'#20'BorderSpacing.Around'#2 - +#6#16'ClickOnSelChange'#8#8'TabOrder'#2#0#8'TopIndex'#2#255#0#0#0#9'TGroupBo' - +'x'#11'NewGroupBox'#4'Left'#2#6#6'Height'#2'U'#3'Top'#2'['#5'Width'#3#184#1#5 - +'Align'#7#5'alTop'#20'BorderSpacing.Around'#2#6#7'Caption'#6#11'NewGroupBox' - +#12'ClientHeight'#2'B'#11'ClientWidth'#3#180#1#8'TabOrder'#2#1#0#5'TEdit'#7 - +'NewEdit'#4'Left'#2#6#6'Height'#2#23#3'Top'#2#6#5'Width'#3#168#1#5'Align'#7#5 - +'alTop'#20'BorderSpacing.Around'#2#6#8'TabOrder'#2#0#4'Text'#6#7'NewEdit'#0#0 - +#9'TCheckBox'#14'RenameCheckBox'#4'Left'#2#6#6'Height'#2#22#3'Top'#2'#'#5'Wi' - +'dth'#3#168#1#5'Align'#7#5'alTop'#11'AllowGrayed'#9#7'Anchors'#11#5'akTop'#7 - +'akRight'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#14'RenameCheckBox'#8'O' - +'nChange'#7#20'RenameCheckBoxChange'#8'TabOrder'#2#1#11'UseOnChange'#9#0#0#0 - +#9'TGroupBox'#13'ScopeGroupBox'#4'Left'#2#6#6'Height'#3#244#0#3'Top'#3#182#0 - +#5'Width'#3#184#1#5'Align'#7#5'alTop'#20'BorderSpacing.Around'#2#6#7'Caption' - +#6#13'ScopeGroupBox'#12'ClientHeight'#3#225#0#11'ClientWidth'#3#180#1#8'TabO' - +'rder'#2#2#0#9'TCheckBox'#21'ScopeCommentsCheckBox'#4'Left'#2#6#6'Height'#2 - +#22#3'Top'#3#185#0#5'Width'#3#168#1#5'Align'#7#5'alTop'#11'AllowGrayed'#9#20 - +'BorderSpacing.Around'#2#6#7'Caption'#6#21'ScopeCommentsCheckBox'#8'TabOrder' - +#2#0#0#0#11'TRadioGroup'#15'ScopeRadioGroup'#4'Left'#2#6#6'Height'#2'p'#3'To' - +'p'#2#6#5'Width'#3#168#1#5'Align'#7#5'alTop'#8'AutoFill'#9#20'BorderSpacing.' - +'Around'#2#6#7'Caption'#6#15'ScopeRadioGroup'#28'ChildSizing.LeftRightSpacin' - +'g'#2#6#28'ChildSizing.TopBottomSpacing'#2#6#29'ChildSizing.EnlargeHorizonta' - +'l'#7#24'crsHomogenousChildResize'#27'ChildSizing.EnlargeVertical'#7#24'crsH' - +'omogenousChildResize'#28'ChildSizing.ShrinkHorizontal'#7#14'crsScaleChilds' - +#26'ChildSizing.ShrinkVertical'#7#14'crsScaleChilds'#18'ChildSizing.Layout'#7 - +#29'cclLeftToRightThenTopToBottom'#27'ChildSizing.ControlsPerLine'#2#1#12'Cl' - +'ientHeight'#2']'#11'ClientWidth'#3#164#1#13'Items.Strings'#1#6#15'in curren' - +'t unit'#6#15'in main project'#6#30'in project/package owning file'#6'!in al' - +'l open projects and packages'#0#8'TabOrder'#2#1#0#0#9'TGroupBox'#18'ExtraFi' - +'lesGroupBox'#4'Left'#2#6#6'Height'#2'7'#3'Top'#2'|'#5'Width'#3#168#1#5'Alig' - +'n'#7#5'alTop'#20'BorderSpacing.Around'#2#6#7'Caption'#6#18'ExtraFilesGroupB' - +'ox'#12'ClientHeight'#2'$'#11'ClientWidth'#3#164#1#8'TabOrder'#2#2#0#5'TEdit' - +#14'ExtraFilesEdit'#4'Left'#2#6#6'Height'#2#23#3'Top'#2#6#5'Width'#3#152#1#5 - +'Align'#7#5'alTop'#20'BorderSpacing.Around'#2#6#8'TabOrder'#2#0#4'Text'#6#14 - +'ExtraFilesEdit'#0#0#0#0#7'TBitBtn'#12'CancelButton'#4'Left'#3'Y'#1#6'Height' - +#2#29#3'Top'#3#177#1#5'Width'#2'e'#7'Anchors'#11#7'akRight'#8'akBottom'#0#8 - +'AutoSize'#9#7'Caption'#6#12'CancelButton'#11'ModalResult'#2#2#9'NumGlyphs'#2 - +#0#8'TabOrder'#2#3#0#0#7'TBitBtn'#18'FindOrRenameButton'#4'Left'#3#198#0#6'H' - +'eight'#2#29#3'Top'#3#177#1#5'Width'#3#150#0#7'Anchors'#11#7'akRight'#8'akBo' - +'ttom'#0#8'AutoSize'#9#19'BorderSpacing.Right'#2#8#7'Caption'#6#18'FindOrRen' - +'ameButton'#7'Default'#9#9'NumGlyphs'#2#0#7'OnClick'#7#23'FindOrRenameButton' - +'Click'#8'TabOrder'#2#4#0#0#0 + +'ntifierDialogCreate'#8'Position'#7#14'poScreenCenter'#10'LCLVersion'#6#6'0.' + +'9.27'#0#9'TGroupBox'#15'CurrentGroupBox'#4'Left'#2#6#6'Height'#2'O'#3'Top'#2 + +#6#5'Width'#3#184#1#5'Align'#7#5'alTop'#7'Anchors'#11#5'akTop'#6'akLeft'#7'a' + +'kRight'#8'akBottom'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#15'CurrentG' + +'roupBox'#12'ClientHeight'#2'<'#11'ClientWidth'#3#180#1#8'TabOrder'#2#0#0#8 + +'TListBox'#14'CurrentListBox'#4'Left'#2#6#6'Height'#2'0'#3'Top'#2#6#5'Width' + +#3#168#1#5'Align'#7#8'alClient'#20'BorderSpacing.Around'#2#6#16'ClickOnSelCh' + +'ange'#8#8'TabOrder'#2#0#8'TopIndex'#2#255#0#0#0#9'TGroupBox'#11'NewGroupBox' + +#4'Left'#2#6#6'Height'#2'U'#3'Top'#2'['#5'Width'#3#184#1#5'Align'#7#5'alTop' + +#20'BorderSpacing.Around'#2#6#7'Caption'#6#11'NewGroupBox'#12'ClientHeight'#2 + +'B'#11'ClientWidth'#3#180#1#8'TabOrder'#2#1#0#5'TEdit'#7'NewEdit'#4'Left'#2#6 + +#6'Height'#2#23#3'Top'#2#6#5'Width'#3#168#1#5'Align'#7#5'alTop'#20'BorderSpa' + +'cing.Around'#2#6#8'TabOrder'#2#0#4'Text'#6#7'NewEdit'#0#0#9'TCheckBox'#14'R' + +'enameCheckBox'#4'Left'#2#6#6'Height'#2#22#3'Top'#2'#'#5'Width'#3#168#1#5'Al' + +'ign'#7#5'alTop'#11'AllowGrayed'#9#7'Anchors'#11#5'akTop'#7'akRight'#0#20'Bo' + +'rderSpacing.Around'#2#6#7'Caption'#6#14'RenameCheckBox'#8'OnChange'#7#20'Re' + +'nameCheckBoxChange'#8'TabOrder'#2#1#11'UseOnChange'#9#0#0#0#9'TGroupBox'#13 + +'ScopeGroupBox'#4'Left'#2#6#6'Height'#3#244#0#3'Top'#3#182#0#5'Width'#3#184#1 + +#5'Align'#7#5'alTop'#20'BorderSpacing.Around'#2#6#7'Caption'#6#13'ScopeGroup' + +'Box'#12'ClientHeight'#3#225#0#11'ClientWidth'#3#180#1#8'TabOrder'#2#2#0#9'T' + +'CheckBox'#21'ScopeCommentsCheckBox'#4'Left'#2#6#6'Height'#2#22#3'Top'#3#185 + +#0#5'Width'#3#168#1#5'Align'#7#5'alTop'#11'AllowGrayed'#9#20'BorderSpacing.A' + +'round'#2#6#7'Caption'#6#21'ScopeCommentsCheckBox'#8'TabOrder'#2#0#0#0#11'TR' + +'adioGroup'#15'ScopeRadioGroup'#4'Left'#2#6#6'Height'#2'p'#3'Top'#2#6#5'Widt' + +'h'#3#168#1#5'Align'#7#5'alTop'#8'AutoFill'#9#20'BorderSpacing.Around'#2#6#7 + +'Caption'#6#15'ScopeRadioGroup'#28'ChildSizing.LeftRightSpacing'#2#6#28'Chil' + +'dSizing.TopBottomSpacing'#2#6#29'ChildSizing.EnlargeHorizontal'#7#24'crsHom' + +'ogenousChildResize'#27'ChildSizing.EnlargeVertical'#7#24'crsHomogenousChild' + +'Resize'#28'ChildSizing.ShrinkHorizontal'#7#14'crsScaleChilds'#26'ChildSizin' + +'g.ShrinkVertical'#7#14'crsScaleChilds'#18'ChildSizing.Layout'#7#29'cclLeftT' + +'oRightThenTopToBottom'#27'ChildSizing.ControlsPerLine'#2#1#12'ClientHeight' + +#2']'#11'ClientWidth'#3#164#1#13'Items.Strings'#1#6#15'in current unit'#6#15 + +'in main project'#6#30'in project/package owning file'#6'!in all open projec' + +'ts and packages'#0#8'TabOrder'#2#1#0#0#9'TGroupBox'#18'ExtraFilesGroupBox'#4 + +'Left'#2#6#6'Height'#2'7'#3'Top'#2'|'#5'Width'#3#168#1#5'Align'#7#5'alTop'#20 + +'BorderSpacing.Around'#2#6#7'Caption'#6#18'ExtraFilesGroupBox'#12'ClientHeig' + +'ht'#2'$'#11'ClientWidth'#3#164#1#8'TabOrder'#2#2#0#5'TEdit'#14'ExtraFilesEd' + +'it'#4'Left'#2#6#6'Height'#2#23#3'Top'#2#6#5'Width'#3#152#1#5'Align'#7#5'alT' + +'op'#20'BorderSpacing.Around'#2#6#8'TabOrder'#2#0#4'Text'#6#14'ExtraFilesEdi' + +'t'#0#0#0#0#7'TBitBtn'#12'CancelButton'#4'Left'#3'Y'#1#6'Height'#2#29#3'Top' + +#3#177#1#5'Width'#2'e'#7'Anchors'#11#7'akRight'#8'akBottom'#0#8'AutoSize'#9#6 + +'Cancel'#9#7'Caption'#6#12'CancelButton'#11'ModalResult'#2#2#9'NumGlyphs'#2#0 + +#8'TabOrder'#2#3#0#0#7'TBitBtn'#18'FindOrRenameButton'#4'Left'#3#198#0#6'Hei' + +'ght'#2#29#3'Top'#3#177#1#5'Width'#3#150#0#7'Anchors'#11#7'akRight'#8'akBott' + +'om'#0#8'AutoSize'#9#19'BorderSpacing.Right'#2#8#7'Caption'#6#18'FindOrRenam' + +'eButton'#7'Default'#9#9'NumGlyphs'#2#0#7'OnClick'#7#23'FindOrRenameButtonCl' + +'ick'#8'TabOrder'#2#4#0#0#0 ]);