ide: set constraints for OK button for show compiler options dialog and let this dialog close on pressing Escape

git-svn-id: trunk@19186 -
This commit is contained in:
paul 2009-04-01 13:06:30 +00:00
parent a03a773255
commit ef83008c93
2 changed files with 32 additions and 31 deletions

View File

@ -7,8 +7,7 @@ object ShowCompilerOptionsDlg: TShowCompilerOptionsDlg
ClientHeight = 194
ClientWidth = 390
OnCreate = FormCreate
ParentFont = False
LCLVersion = '0.9.25'
LCLVersion = '0.9.27'
object CmdLineGroupbox: TGroupBox
AnchorSideLeft.Control = Owner
AnchorSideTop.Control = Owner
@ -23,7 +22,6 @@ object ShowCompilerOptionsDlg: TShowCompilerOptionsDlg
Caption = 'Command line parameters'
ClientHeight = 130
ClientWidth = 374
ParentCtl3D = False
TabOrder = 0
object CmdLineMemo: TMemo
AnchorSideLeft.Control = CmdLineGroupbox
@ -48,9 +46,9 @@ object ShowCompilerOptionsDlg: TShowCompilerOptionsDlg
AnchorSideLeft.Control = CmdLineGroupbox
AnchorSideTop.Side = asrCenter
Left = 6
Height = 19
Height = 17
Top = 161
Width = 139
Width = 133
Caption = 'RelativePathsCheckBox'
Checked = True
OnChange = RelativePathsCheckBoxChange
@ -64,13 +62,16 @@ object ShowCompilerOptionsDlg: TShowCompilerOptionsDlg
AnchorSideRight.Side = asrBottom
AnchorSideBottom.Control = Owner
AnchorSideBottom.Side = asrBottom
Left = 345
Left = 309
Height = 23
Top = 160
Width = 39
Width = 75
Anchors = [akTop, akRight]
AutoSize = True
Cancel = True
Caption = 'Ok'
Constraints.MinHeight = 22
Constraints.MinWidth = 75
NumGlyphs = 0
OnClick = OkButtonCLICK
TabOrder = 2

View File

@ -4,28 +4,28 @@ LazarusResources.Add('TShowCompilerOptionsDlg','FORMDATA',[
'TPF0'#23'TShowCompilerOptionsDlg'#22'ShowCompilerOptionsDlg'#4'Left'#3'U'#1#6
+'Height'#3#194#0#3'Top'#3'@'#1#5'Width'#3#134#1#7'Caption'#6#16'Compiler Opt'
+'ions'#12'ClientHeight'#3#194#0#11'ClientWidth'#3#134#1#8'OnCreate'#7#10'For'
+'mCreate'#10'ParentFont'#8#10'LCLVersion'#6#6'0.9.25'#0#9'TGroupBox'#15'CmdL'
+'ineGroupbox'#22'AnchorSideLeft.Control'#7#5'Owner'#21'AnchorSideTop.Control'
+#7#5'Owner'#23'AnchorSideRight.Control'#7#5'Owner'#4'Left'#2#6#6'Height'#3
+#148#0#3'Top'#2#6#5'Width'#3'z'#1#5'Align'#7#5'alTop'#7'Anchors'#11#5'akTop'
+#6'akLeft'#7'akRight'#8'akBottom'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6
+#23'Command line parameters'#12'ClientHeight'#3#130#0#11'ClientWidth'#3'v'#1
+#11'ParentCtl3D'#8#8'TabOrder'#2#0#0#5'TMemo'#11'CmdLineMemo'#22'AnchorSideL'
+'eft.Control'#7#15'CmdLineGroupbox'#21'AnchorSideTop.Control'#7#15'CmdLineGr'
+'oupbox'#23'AnchorSideRight.Control'#7#15'CmdLineGroupbox'#20'AnchorSideRigh'
+'t.Side'#7#9'asrBottom'#24'AnchorSideBottom.Control'#7#15'CmdLineGroupbox'#21
+'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#2#6#6'Height'#2'v'#3'Top'#2#6
+#5'Width'#3'j'#1#5'Align'#7#8'alClient'#20'BorderSpacing.Around'#2#6#13'Line'
+'s.Strings'#1#6#11'CmdLineMemo'#0#8'TabOrder'#2#0#0#0#0#9'TCheckBox'#21'Rela'
+'tivePathsCheckBox'#22'AnchorSideLeft.Control'#7#15'CmdLineGroupbox'#18'Anch'
+'orSideTop.Side'#7#9'asrCenter'#4'Left'#2#6#6'Height'#2#19#3'Top'#3#161#0#5
+'Width'#3#139#0#7'Caption'#6#21'RelativePathsCheckBox'#7'Checked'#9#8'OnChan'
+'ge'#7#27'RelativePathsCheckBoxChange'#5'State'#7#9'cbChecked'#8'TabOrder'#2
+#1#0#0#7'TBitBtn'#8'OkButton'#21'AnchorSideTop.Control'#7#15'CmdLineGroupbox'
+#18'AnchorSideTop.Side'#7#9'asrBottom'#23'AnchorSideRight.Control'#7#15'CmdL'
+'ineGroupbox'#20'AnchorSideRight.Side'#7#9'asrBottom'#24'AnchorSideBottom.Co'
+'ntrol'#7#5'Owner'#21'AnchorSideBottom.Side'#7#9'asrBottom'#4'Left'#3'Y'#1#6
+'Height'#2#23#3'Top'#3#160#0#5'Width'#2''''#7'Anchors'#11#5'akTop'#7'akRight'
+#0#8'AutoSize'#9#7'Caption'#6#2'Ok'#9'NumGlyphs'#2#0#7'OnClick'#7#13'OkButto'
+'nCLICK'#8'TabOrder'#2#2#0#0#0
+'mCreate'#10'LCLVersion'#6#6'0.9.27'#0#9'TGroupBox'#15'CmdLineGroupbox'#22'A'
+'nchorSideLeft.Control'#7#5'Owner'#21'AnchorSideTop.Control'#7#5'Owner'#23'A'
+'nchorSideRight.Control'#7#5'Owner'#4'Left'#2#6#6'Height'#3#148#0#3'Top'#2#6
+#5'Width'#3'z'#1#5'Align'#7#5'alTop'#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRi'
+'ght'#8'akBottom'#0#20'BorderSpacing.Around'#2#6#7'Caption'#6#23'Command lin'
+'e parameters'#12'ClientHeight'#3#130#0#11'ClientWidth'#3'v'#1#8'TabOrder'#2
+#0#0#5'TMemo'#11'CmdLineMemo'#22'AnchorSideLeft.Control'#7#15'CmdLineGroupbo'
+'x'#21'AnchorSideTop.Control'#7#15'CmdLineGroupbox'#23'AnchorSideRight.Contr'
+'ol'#7#15'CmdLineGroupbox'#20'AnchorSideRight.Side'#7#9'asrBottom'#24'Anchor'
+'SideBottom.Control'#7#15'CmdLineGroupbox'#21'AnchorSideBottom.Side'#7#9'asr'
+'Bottom'#4'Left'#2#6#6'Height'#2'v'#3'Top'#2#6#5'Width'#3'j'#1#5'Align'#7#8
+'alClient'#20'BorderSpacing.Around'#2#6#13'Lines.Strings'#1#6#11'CmdLineMemo'
+#0#8'TabOrder'#2#0#0#0#0#9'TCheckBox'#21'RelativePathsCheckBox'#22'AnchorSid'
+'eLeft.Control'#7#15'CmdLineGroupbox'#18'AnchorSideTop.Side'#7#9'asrCenter'#4
+'Left'#2#6#6'Height'#2#17#3'Top'#3#161#0#5'Width'#3#133#0#7'Caption'#6#21'Re'
+'lativePathsCheckBox'#7'Checked'#9#8'OnChange'#7#27'RelativePathsCheckBoxCha'
+'nge'#5'State'#7#9'cbChecked'#8'TabOrder'#2#1#0#0#7'TBitBtn'#8'OkButton'#21
+'AnchorSideTop.Control'#7#15'CmdLineGroupbox'#18'AnchorSideTop.Side'#7#9'asr'
+'Bottom'#23'AnchorSideRight.Control'#7#15'CmdLineGroupbox'#20'AnchorSideRigh'
+'t.Side'#7#9'asrBottom'#24'AnchorSideBottom.Control'#7#5'Owner'#21'AnchorSid'
+'eBottom.Side'#7#9'asrBottom'#4'Left'#3'5'#1#6'Height'#2#23#3'Top'#3#160#0#5
+'Width'#2'K'#7'Anchors'#11#5'akTop'#7'akRight'#0#8'AutoSize'#9#6'Cancel'#9#7
+'Caption'#6#2'Ok'#21'Constraints.MinHeight'#2#22#20'Constraints.MinWidth'#2
+'K'#9'NumGlyphs'#2#0#7'OnClick'#7#13'OkButtonCLICK'#8'TabOrder'#2#2#0#0#0
]);