mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-23 16:39:31 +01:00
converted SysVarUserOveridesDlg to lfm from Darius
git-svn-id: trunk@8481 -
This commit is contained in:
parent
23426faaf8
commit
c45972fced
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -1092,6 +1092,8 @@ ide/splash.pp svneol=native#text/pascal
|
|||||||
ide/startlazarus.lpr svneol=native#text/pascal
|
ide/startlazarus.lpr svneol=native#text/pascal
|
||||||
ide/startlazarus.rc svneol=native#text/plain
|
ide/startlazarus.rc svneol=native#text/plain
|
||||||
ide/startlazopts.pas svneol=native#text/pascal
|
ide/startlazopts.pas svneol=native#text/pascal
|
||||||
|
ide/sysvaruseroverridedlg.lfm svneol=native#text/plain
|
||||||
|
ide/sysvaruseroverridedlg.lrs svneol=native#text/plain
|
||||||
ide/sysvaruseroverridedlg.pas svneol=native#text/pascal
|
ide/sysvaruseroverridedlg.pas svneol=native#text/pascal
|
||||||
ide/todolist.lfm svneol=native#text/plain
|
ide/todolist.lfm svneol=native#text/plain
|
||||||
ide/todolist.lrs svneol=native#text/plain
|
ide/todolist.lrs svneol=native#text/plain
|
||||||
|
|||||||
@ -43,7 +43,7 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
object Notebook: TNotebook
|
object Notebook: TNotebook
|
||||||
Align = alTop
|
Align = alTop
|
||||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||||
PageIndex = 0
|
PageIndex = 1
|
||||||
Height = 408
|
Height = 408
|
||||||
Width = 500
|
Width = 500
|
||||||
object Page1: TPage
|
object Page1: TPage
|
||||||
@ -57,8 +57,8 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
AutoSize = True
|
AutoSize = True
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'DisplayGroupBox'
|
Caption = 'DisplayGroupBox'
|
||||||
ClientHeight = 54
|
ClientHeight = 72
|
||||||
ClientWidth = 476
|
ClientWidth = 480
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 72
|
Height = 72
|
||||||
@ -93,8 +93,8 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
AutoSize = True
|
AutoSize = True
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'CmdLineParametersGroupBox'
|
Caption = 'CmdLineParametersGroupBox'
|
||||||
ClientHeight = 35
|
ClientHeight = 53
|
||||||
ClientWidth = 476
|
ClientWidth = 480
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 53
|
Height = 53
|
||||||
@ -116,8 +116,8 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
AutoSize = True
|
AutoSize = True
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'UseLaunchingApplicationGroupBox'
|
Caption = 'UseLaunchingApplicationGroupBox'
|
||||||
ClientHeight = 52
|
ClientHeight = 70
|
||||||
ClientWidth = 476
|
ClientWidth = 480
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 70
|
Height = 70
|
||||||
@ -154,8 +154,8 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
AutoSize = True
|
AutoSize = True
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'HostApplicationGroupBox'
|
Caption = 'HostApplicationGroupBox'
|
||||||
ClientHeight = 35
|
ClientHeight = 53
|
||||||
ClientWidth = 476
|
ClientWidth = 480
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 53
|
Height = 53
|
||||||
@ -189,8 +189,8 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
AutoSize = True
|
AutoSize = True
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'WorkingDirectoryGroupBox'
|
Caption = 'WorkingDirectoryGroupBox'
|
||||||
ClientHeight = 35
|
ClientHeight = 53
|
||||||
ClientWidth = 476
|
ClientWidth = 480
|
||||||
TabOrder = 4
|
TabOrder = 4
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 53
|
Height = 53
|
||||||
@ -241,8 +241,8 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
Align = alBottom
|
Align = alBottom
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'UserOverridesGroupBox'
|
Caption = 'UserOverridesGroupBox'
|
||||||
ClientHeight = 161
|
ClientHeight = 143
|
||||||
ClientWidth = 480
|
ClientWidth = 476
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 161
|
Height = 161
|
||||||
@ -258,7 +258,7 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 29
|
Height = 29
|
||||||
Top = 106
|
Top = 88
|
||||||
Width = 141
|
Width = 141
|
||||||
end
|
end
|
||||||
object UserOverridesEditButton: TButton
|
object UserOverridesEditButton: TButton
|
||||||
@ -270,9 +270,10 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
OnClick = UserOverridesEditButtonClick
|
OnClick = UserOverridesEditButtonClick
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
AnchorSideLeft.Control = UserOverridesAddButton
|
AnchorSideLeft.Control = UserOverridesAddButton
|
||||||
|
AnchorSideLeft.Side = asrBottom
|
||||||
Left = 153
|
Left = 153
|
||||||
Height = 29
|
Height = 29
|
||||||
Top = 106
|
Top = 88
|
||||||
Width = 140
|
Width = 140
|
||||||
end
|
end
|
||||||
object UserOverridesDeleteButton: TButton
|
object UserOverridesDeleteButton: TButton
|
||||||
@ -284,9 +285,10 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
OnClick = UserOverridesDeleteButtonClick
|
OnClick = UserOverridesDeleteButtonClick
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
AnchorSideLeft.Control = UserOverridesEditButton
|
AnchorSideLeft.Control = UserOverridesEditButton
|
||||||
|
AnchorSideLeft.Side = asrBottom
|
||||||
Left = 299
|
Left = 299
|
||||||
Height = 29
|
Height = 29
|
||||||
Top = 106
|
Top = 88
|
||||||
Width = 153
|
Width = 153
|
||||||
end
|
end
|
||||||
object UserOverridesListView: TListView
|
object UserOverridesListView: TListView
|
||||||
@ -306,9 +308,10 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
end>
|
end>
|
||||||
RowSelect = True
|
RowSelect = True
|
||||||
SortType = stText
|
SortType = stText
|
||||||
|
TabOrder = 3
|
||||||
ViewStyle = vsReport
|
ViewStyle = vsReport
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 96
|
Height = 78
|
||||||
Top = 6
|
Top = 6
|
||||||
Width = 464
|
Width = 464
|
||||||
end
|
end
|
||||||
@ -317,8 +320,8 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
Align = alClient
|
Align = alClient
|
||||||
BorderSpacing.Around = 6
|
BorderSpacing.Around = 6
|
||||||
Caption = 'SystemVariablesGroupBox'
|
Caption = 'SystemVariablesGroupBox'
|
||||||
ClientHeight = 184
|
ClientHeight = 166
|
||||||
ClientWidth = 480
|
ClientWidth = 476
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 184
|
Height = 184
|
||||||
@ -340,6 +343,7 @@ object RunParamsOptsDlg: TRunParamsOptsDlg
|
|||||||
end>
|
end>
|
||||||
RowSelect = True
|
RowSelect = True
|
||||||
SortType = stText
|
SortType = stText
|
||||||
|
TabOrder = 0
|
||||||
ViewStyle = vsReport
|
ViewStyle = vsReport
|
||||||
Left = 6
|
Left = 6
|
||||||
Height = 154
|
Height = 154
|
||||||
|
|||||||
@ -15,12 +15,12 @@ LazarusResources.Add('TRunParamsOptsDlg','FORMDATA',[
|
|||||||
+'pacing.Around'#2#6#25'BorderSpacing.InnerBorder'#2#2#7'Caption'#6#12'Cancel'
|
+'pacing.Around'#2#6#25'BorderSpacing.InnerBorder'#2#2#7'Caption'#6#12'Cancel'
|
||||||
+'Button'#11'ModalResult'#2#2#8'TabOrder'#2#1#4'Left'#3#144#1#6'Height'#2#29#3
|
+'Button'#11'ModalResult'#2#2#8'TabOrder'#2#1#4'Left'#3#144#1#6'Height'#2#29#3
|
||||||
+'Top'#3#159#1#5'Width'#2'X'#0#0#9'TNotebook'#8'Notebook'#5'Align'#7#5'alTop'
|
+'Top'#3#159#1#5'Width'#2'X'#0#0#9'TNotebook'#8'Notebook'#5'Align'#7#5'alTop'
|
||||||
+#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#9'PageIndex'#2#0#6
|
+#7'Anchors'#11#5'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#9'PageIndex'#2#1#6
|
||||||
+'Height'#3#152#1#5'Width'#3#244#1#0#5'TPage'#5'Page1'#7'Caption'#6#5'Page1'
|
+'Height'#3#152#1#5'Width'#3#244#1#0#5'TPage'#5'Page1'#7'Caption'#6#5'Page1'
|
||||||
+#11'ClientWidth'#3#236#1#12'ClientHeight'#3'~'#1#6'Height'#3'~'#1#5'Width'#3
|
+#11'ClientWidth'#3#236#1#12'ClientHeight'#3'~'#1#6'Height'#3'~'#1#5'Width'#3
|
||||||
+#236#1#0#9'TGroupBox'#15'DisplayGroupBox'#5'Align'#7#5'alTop'#8'AutoSize'#9
|
+#236#1#0#9'TGroupBox'#15'DisplayGroupBox'#5'Align'#7#5'alTop'#8'AutoSize'#9
|
||||||
+#20'BorderSpacing.Around'#2#6#7'Caption'#6#15'DisplayGroupBox'#12'ClientHeig'
|
+#20'BorderSpacing.Around'#2#6#7'Caption'#6#15'DisplayGroupBox'#12'ClientHeig'
|
||||||
+'ht'#2'6'#11'ClientWidth'#3#220#1#8'TabOrder'#2#3#4'Left'#2#6#6'Height'#2'H'
|
+'ht'#2'H'#11'ClientWidth'#3#224#1#8'TabOrder'#2#3#4'Left'#2#6#6'Height'#2'H'
|
||||||
+#3'Top'#3#3#1#5'Width'#3#224#1#0#5'TEdit'#11'DisplayEdit'#5'Align'#7#5'alTop'
|
+#3'Top'#3#3#1#5'Width'#3#224#1#0#5'TEdit'#11'DisplayEdit'#5'Align'#7#5'alTop'
|
||||||
+#20'BorderSpacing.Around'#2#6#8'TabOrder'#2#0#4'Text'#6#11'DisplayEdit'#4'Le'
|
+#20'BorderSpacing.Around'#2#6#8'TabOrder'#2#0#4'Text'#6#11'DisplayEdit'#4'Le'
|
||||||
+'ft'#2#6#6'Height'#2#23#3'Top'#2#25#5'Width'#3#208#1#0#0#9'TCheckBox'#18'Use'
|
+'ft'#2#6#6'Height'#2#23#3'Top'#2#25#5'Width'#3#208#1#0#0#9'TCheckBox'#18'Use'
|
||||||
@ -29,14 +29,14 @@ LazarusResources.Add('TRunParamsOptsDlg','FORMDATA',[
|
|||||||
+'aption'#6#18'UseDisplayCheckBox'#8'TabOrder'#2#1#4'Left'#2#6#6'Height'#2#13
|
+'aption'#6#18'UseDisplayCheckBox'#8'TabOrder'#2#1#4'Left'#2#6#6'Height'#2#13
|
||||||
+#3'Top'#2#6#5'Width'#3#208#1#0#0#0#9'TGroupBox'#25'CmdLineParametersGroupBox'
|
+#3'Top'#2#6#5'Width'#3#208#1#0#0#0#9'TGroupBox'#25'CmdLineParametersGroupBox'
|
||||||
+#5'Align'#7#5'alTop'#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6
|
+#5'Align'#7#5'alTop'#8'AutoSize'#9#20'BorderSpacing.Around'#2#6#7'Caption'#6
|
||||||
+#25'CmdLineParametersGroupBox'#12'ClientHeight'#2'#'#11'ClientWidth'#3#220#1
|
+#25'CmdLineParametersGroupBox'#12'ClientHeight'#2'5'#11'ClientWidth'#3#224#1
|
||||||
+#8'TabOrder'#2#0#4'Left'#2#6#6'Height'#2'5'#3'Top'#2'A'#5'Width'#3#224#1#0#5
|
+#8'TabOrder'#2#0#4'Left'#2#6#6'Height'#2'5'#3'Top'#2'A'#5'Width'#3#224#1#0#5
|
||||||
+'TEdit'#21'CmdLineParametersEdit'#5'Align'#7#5'alTop'#20'BorderSpacing.Aroun'
|
+'TEdit'#21'CmdLineParametersEdit'#5'Align'#7#5'alTop'#20'BorderSpacing.Aroun'
|
||||||
+'d'#2#6#8'TabOrder'#2#0#4'Text'#6#21'CmdLineParametersEdit'#4'Left'#2#6#6'He'
|
+'d'#2#6#8'TabOrder'#2#0#4'Text'#6#21'CmdLineParametersEdit'#4'Left'#2#6#6'He'
|
||||||
+'ight'#2#23#3'Top'#2#6#5'Width'#3#208#1#0#0#0#9'TGroupBox'#31'UseLaunchingAp'
|
+'ight'#2#23#3'Top'#2#6#5'Width'#3#208#1#0#0#0#9'TGroupBox'#31'UseLaunchingAp'
|
||||||
+'plicationGroupBox'#5'Align'#7#5'alTop'#8'AutoSize'#9#20'BorderSpacing.Aroun'
|
+'plicationGroupBox'#5'Align'#7#5'alTop'#8'AutoSize'#9#20'BorderSpacing.Aroun'
|
||||||
+'d'#2#6#7'Caption'#6#31'UseLaunchingApplicationGroupBox'#12'ClientHeight'#2
|
+'d'#2#6#7'Caption'#6#31'UseLaunchingApplicationGroupBox'#12'ClientHeight'#2
|
||||||
+'4'#11'ClientWidth'#3#220#1#8'TabOrder'#2#1#4'Left'#2#6#6'Height'#2'F'#3'Top'
|
+'F'#11'ClientWidth'#3#224#1#8'TabOrder'#2#1#4'Left'#2#6#6'Height'#2'F'#3'Top'
|
||||||
+#2'|'#5'Width'#3#224#1#0#9'TCheckBox'#31'UseLaunchingApplicationCheckBox'#5
|
+#2'|'#5'Width'#3#224#1#0#9'TCheckBox'#31'UseLaunchingApplicationCheckBox'#5
|
||||||
+'Align'#7#5'alTop'#18'BorderSpacing.Left'#2#6#17'BorderSpacing.Top'#2#6#19'B'
|
+'Align'#7#5'alTop'#18'BorderSpacing.Left'#2#6#17'BorderSpacing.Top'#2#6#19'B'
|
||||||
+'orderSpacing.Right'#2#6#20'BorderSpacing.Bottom'#2#6#7'Caption'#6#31'UseLau'
|
+'orderSpacing.Right'#2#6#20'BorderSpacing.Bottom'#2#6#7'Caption'#6#31'UseLau'
|
||||||
@ -47,7 +47,7 @@ LazarusResources.Add('TRunParamsOptsDlg','FORMDATA',[
|
|||||||
+#4'Left'#2#6#6'Height'#2#21#3'Top'#2#25#5'Width'#3#208#1#0#0#0#9'TGroupBox'
|
+#4'Left'#2#6#6'Height'#2#21#3'Top'#2#25#5'Width'#3#208#1#0#0#0#9'TGroupBox'
|
||||||
+#23'HostApplicationGroupBox'#5'Align'#7#5'alTop'#8'AutoSize'#9#20'BorderSpac'
|
+#23'HostApplicationGroupBox'#5'Align'#7#5'alTop'#8'AutoSize'#9#20'BorderSpac'
|
||||||
+'ing.Around'#2#6#7'Caption'#6#23'HostApplicationGroupBox'#12'ClientHeight'#2
|
+'ing.Around'#2#6#7'Caption'#6#23'HostApplicationGroupBox'#12'ClientHeight'#2
|
||||||
+'#'#11'ClientWidth'#3#220#1#8'TabOrder'#2#2#4'Left'#2#6#6'Height'#2'5'#3'Top'
|
+'5'#11'ClientWidth'#3#224#1#8'TabOrder'#2#2#4'Left'#2#6#6'Height'#2'5'#3'Top'
|
||||||
+#2#6#5'Width'#3#224#1#0#7'TButton'#24'HostApplicationBrowseBtn'#5'Align'#7#7
|
+#2#6#5'Width'#3#224#1#0#7'TButton'#24'HostApplicationBrowseBtn'#5'Align'#7#7
|
||||||
+'alRight'#20'BorderSpacing.Around'#2#6#25'BorderSpacing.InnerBorder'#2#2#7'C'
|
+'alRight'#20'BorderSpacing.Around'#2#6#25'BorderSpacing.InnerBorder'#2#2#7'C'
|
||||||
+'aption'#6#24'HostApplicationBrowseBtn'#7'OnClick'#7#29'HostApplicationBrows'
|
+'aption'#6#24'HostApplicationBrowseBtn'#7'OnClick'#7#29'HostApplicationBrows'
|
||||||
@ -56,8 +56,8 @@ LazarusResources.Add('TRunParamsOptsDlg','FORMDATA',[
|
|||||||
+'erSpacing.Around'#2#6#8'TabOrder'#2#1#4'Text'#6#19'HostApplicationEdit'#4'L'
|
+'erSpacing.Around'#2#6#8'TabOrder'#2#1#4'Text'#6#19'HostApplicationEdit'#4'L'
|
||||||
+'eft'#2#6#6'Height'#2#23#3'Top'#2#6#5'Width'#3#179#1#0#0#0#9'TGroupBox'#24'W'
|
+'eft'#2#6#6'Height'#2#23#3'Top'#2#6#5'Width'#3#179#1#0#0#0#9'TGroupBox'#24'W'
|
||||||
+'orkingDirectoryGroupBox'#5'Align'#7#5'alTop'#8'AutoSize'#9#20'BorderSpacing'
|
+'orkingDirectoryGroupBox'#5'Align'#7#5'alTop'#8'AutoSize'#9#20'BorderSpacing'
|
||||||
+'.Around'#2#6#7'Caption'#6#24'WorkingDirectoryGroupBox'#12'ClientHeight'#2'#'
|
+'.Around'#2#6#7'Caption'#6#24'WorkingDirectoryGroupBox'#12'ClientHeight'#2'5'
|
||||||
+#11'ClientWidth'#3#220#1#8'TabOrder'#2#4#4'Left'#2#6#6'Height'#2'5'#3'Top'#3
|
+#11'ClientWidth'#3#224#1#8'TabOrder'#2#4#4'Left'#2#6#6'Height'#2'5'#3'Top'#3
|
||||||
+#200#0#5'Width'#3#224#1#0#7'TButton'#19'WorkingDirectoryBtn'#5'Align'#7#7'al'
|
+#200#0#5'Width'#3#224#1#0#7'TButton'#19'WorkingDirectoryBtn'#5'Align'#7#7'al'
|
||||||
+'Right'#20'BorderSpacing.Around'#2#6#25'BorderSpacing.InnerBorder'#2#2#7'Cap'
|
+'Right'#20'BorderSpacing.Around'#2#6#25'BorderSpacing.InnerBorder'#2#2#7'Cap'
|
||||||
+'tion'#6#19'WorkingDirectoryBtn'#7'OnClick'#7#24'WorkingDirectoryBtnClick'#8
|
+'tion'#6#19'WorkingDirectoryBtn'#7'OnClick'#7#24'WorkingDirectoryBtnClick'#8
|
||||||
@ -71,34 +71,35 @@ LazarusResources.Add('TRunParamsOptsDlg','FORMDATA',[
|
|||||||
+'iablesCheckBox'#7'Enabled'#8#8'TabOrder'#2#0#4'Left'#2#6#6'Height'#2#13#3'T'
|
+'iablesCheckBox'#7'Enabled'#8#8'TabOrder'#2#0#4'Left'#2#6#6'Height'#2#13#3'T'
|
||||||
+'op'#3'k'#1#5'Width'#3#224#1#0#0#9'TGroupBox'#21'UserOverridesGroupBox'#5'Al'
|
+'op'#3'k'#1#5'Width'#3#224#1#0#0#9'TGroupBox'#21'UserOverridesGroupBox'#5'Al'
|
||||||
+'ign'#7#8'alBottom'#20'BorderSpacing.Around'#2#6#7'Caption'#6#21'UserOverrid'
|
+'ign'#7#8'alBottom'#20'BorderSpacing.Around'#2#6#7'Caption'#6#21'UserOverrid'
|
||||||
+'esGroupBox'#12'ClientHeight'#3#161#0#11'ClientWidth'#3#224#1#8'TabOrder'#2#1
|
+'esGroupBox'#12'ClientHeight'#3#143#0#11'ClientWidth'#3#220#1#8'TabOrder'#2#1
|
||||||
+#4'Left'#2#6#6'Height'#3#161#0#3'Top'#3#196#0#5'Width'#3#224#1#0#7'TButton'
|
+#4'Left'#2#6#6'Height'#3#161#0#3'Top'#3#196#0#5'Width'#3#224#1#0#7'TButton'
|
||||||
+#22'UserOverridesAddButton'#7'Anchors'#11#6'akLeft'#8'akBottom'#0#8'AutoSize'
|
+#22'UserOverridesAddButton'#7'Anchors'#11#6'akLeft'#8'akBottom'#0#8'AutoSize'
|
||||||
+#9#20'BorderSpacing.Around'#2#6#25'BorderSpacing.InnerBorder'#2#2#7'Caption'
|
+#9#20'BorderSpacing.Around'#2#6#25'BorderSpacing.InnerBorder'#2#2#7'Caption'
|
||||||
+#6#22'UserOverridesAddButton'#7'OnClick'#7#27'UserOverridesAddButtonClick'#8
|
+#6#22'UserOverridesAddButton'#7'OnClick'#7#27'UserOverridesAddButtonClick'#8
|
||||||
+'TabOrder'#2#0#4'Left'#2#6#6'Height'#2#29#3'Top'#2'j'#5'Width'#3#141#0#0#0#7
|
+'TabOrder'#2#0#4'Left'#2#6#6'Height'#2#29#3'Top'#2'X'#5'Width'#3#141#0#0#0#7
|
||||||
+'TButton'#23'UserOverridesEditButton'#7'Anchors'#11#6'akLeft'#8'akBottom'#0#8
|
+'TButton'#23'UserOverridesEditButton'#7'Anchors'#11#6'akLeft'#8'akBottom'#0#8
|
||||||
+'AutoSize'#9#20'BorderSpacing.Around'#2#6#25'BorderSpacing.InnerBorder'#2#2#7
|
+'AutoSize'#9#20'BorderSpacing.Around'#2#6#25'BorderSpacing.InnerBorder'#2#2#7
|
||||||
+'Caption'#6#23'UserOverridesEditButton'#7'OnClick'#7#28'UserOverridesEditBut'
|
+'Caption'#6#23'UserOverridesEditButton'#7'OnClick'#7#28'UserOverridesEditBut'
|
||||||
+'tonClick'#8'TabOrder'#2#1#22'AnchorSideLeft.Control'#7#22'UserOverridesAddB'
|
+'tonClick'#8'TabOrder'#2#1#22'AnchorSideLeft.Control'#7#22'UserOverridesAddB'
|
||||||
+'utton'#4'Left'#3#153#0#6'Height'#2#29#3'Top'#2'j'#5'Width'#3#140#0#0#0#7'TB'
|
+'utton'#19'AnchorSideLeft.Side'#7#9'asrBottom'#4'Left'#3#153#0#6'Height'#2#29
|
||||||
+'utton'#25'UserOverridesDeleteButton'#7'Anchors'#11#6'akLeft'#8'akBottom'#0#8
|
+#3'Top'#2'X'#5'Width'#3#140#0#0#0#7'TButton'#25'UserOverridesDeleteButton'#7
|
||||||
+'AutoSize'#9#20'BorderSpacing.Around'#2#6#25'BorderSpacing.InnerBorder'#2#2#7
|
+'Anchors'#11#6'akLeft'#8'akBottom'#0#8'AutoSize'#9#20'BorderSpacing.Around'#2
|
||||||
+'Caption'#6#25'UserOverridesDeleteButton'#7'OnClick'#7#30'UserOverridesDelet'
|
+#6#25'BorderSpacing.InnerBorder'#2#2#7'Caption'#6#25'UserOverridesDeleteButt'
|
||||||
+'eButtonClick'#8'TabOrder'#2#2#22'AnchorSideLeft.Control'#7#23'UserOverrides'
|
+'on'#7'OnClick'#7#30'UserOverridesDeleteButtonClick'#8'TabOrder'#2#2#22'Anch'
|
||||||
+'EditButton'#4'Left'#3'+'#1#6'Height'#2#29#3'Top'#2'j'#5'Width'#3#153#0#0#0#9
|
+'orSideLeft.Control'#7#23'UserOverridesEditButton'#19'AnchorSideLeft.Side'#7
|
||||||
+'TListView'#21'UserOverridesListView'#5'Align'#7#5'alTop'#7'Anchors'#11#5'ak'
|
+#9'asrBottom'#4'Left'#3'+'#1#6'Height'#2#29#3'Top'#2'X'#5'Width'#3#153#0#0#0
|
||||||
+'Top'#6'akLeft'#7'akRight'#8'akBottom'#0#20'BorderSpacing.Around'#2#6#7'Colu'
|
+#9'TListView'#21'UserOverridesListView'#5'Align'#7#5'alTop'#7'Anchors'#11#5
|
||||||
+'mns'#14#1#8'AutoSize'#9#7'Caption'#6#7'Caption'#5'Width'#2'*'#0#1#8'AutoSiz'
|
+'akTop'#6'akLeft'#7'akRight'#8'akBottom'#0#20'BorderSpacing.Around'#2#6#7'Co'
|
||||||
+'e'#9#7'Caption'#6#7'Caption'#5'Width'#2'*'#0#0#9'RowSelect'#9#8'SortType'#7
|
+'lumns'#14#1#8'AutoSize'#9#7'Caption'#6#7'Caption'#5'Width'#2'*'#0#1#8'AutoS'
|
||||||
+#6'stText'#9'ViewStyle'#7#8'vsReport'#4'Left'#2#6#6'Height'#2'`'#3'Top'#2#6#5
|
+'ize'#9#7'Caption'#6#7'Caption'#5'Width'#2'*'#0#0#9'RowSelect'#9#8'SortType'
|
||||||
+'Width'#3#208#1#0#0#0#9'TGroupBox'#23'SystemVariablesGroupBox'#5'Align'#7#8
|
+#7#6'stText'#8'TabOrder'#2#3#9'ViewStyle'#7#8'vsReport'#4'Left'#2#6#6'Height'
|
||||||
+'alClient'#20'BorderSpacing.Around'#2#6#7'Caption'#6#23'SystemVariablesGroup'
|
+#2'N'#3'Top'#2#6#5'Width'#3#208#1#0#0#0#9'TGroupBox'#23'SystemVariablesGroup'
|
||||||
+'Box'#12'ClientHeight'#3#184#0#11'ClientWidth'#3#224#1#8'TabOrder'#2#2#4'Lef'
|
+'Box'#5'Align'#7#8'alClient'#20'BorderSpacing.Around'#2#6#7'Caption'#6#23'Sy'
|
||||||
+'t'#2#6#6'Height'#3#184#0#3'Top'#2#6#5'Width'#3#224#1#0#9'TListView'#23'Syst'
|
+'stemVariablesGroupBox'#12'ClientHeight'#3#166#0#11'ClientWidth'#3#220#1#8'T'
|
||||||
+'emVariablesListView'#5'Align'#7#8'alClient'#20'BorderSpacing.Around'#2#6#7
|
+'abOrder'#2#2#4'Left'#2#6#6'Height'#3#184#0#3'Top'#2#6#5'Width'#3#224#1#0#9
|
||||||
+'Columns'#14#1#8'AutoSize'#9#7'Caption'#6#7'Caption'#5'Width'#2'*'#0#1#8'Aut'
|
+'TListView'#23'SystemVariablesListView'#5'Align'#7#8'alClient'#20'BorderSpac'
|
||||||
+'oSize'#9#7'Caption'#6#7'Caption'#5'Width'#2'*'#0#0#9'RowSelect'#9#8'SortTyp'
|
+'ing.Around'#2#6#7'Columns'#14#1#8'AutoSize'#9#7'Caption'#6#7'Caption'#5'Wid'
|
||||||
+'e'#7#6'stText'#9'ViewStyle'#7#8'vsReport'#4'Left'#2#6#6'Height'#3#154#0#3'T'
|
+'th'#2'*'#0#1#8'AutoSize'#9#7'Caption'#6#7'Caption'#5'Width'#2'*'#0#0#9'RowS'
|
||||||
+'op'#2#6#5'Width'#3#208#1#0#0#0#0#0#0
|
+'elect'#9#8'SortType'#7#6'stText'#8'TabOrder'#2#0#9'ViewStyle'#7#8'vsReport'
|
||||||
|
+#4'Left'#2#6#6'Height'#3#154#0#3'Top'#2#6#5'Width'#3#208#1#0#0#0#0#0#0
|
||||||
]);
|
]);
|
||||||
|
|||||||
92
ide/sysvaruseroverridedlg.lfm
Normal file
92
ide/sysvaruseroverridedlg.lfm
Normal file
@ -0,0 +1,92 @@
|
|||||||
|
object SysVarUserOverrideDialog: TSysVarUserOverrideDialog
|
||||||
|
ActiveControl = ValueEdit
|
||||||
|
Align = alTop
|
||||||
|
Caption = 'SysVarUserOverrideDialog'
|
||||||
|
ClientHeight = 147
|
||||||
|
ClientWidth = 400
|
||||||
|
PixelsPerInch = 96
|
||||||
|
Position = poScreenCenter
|
||||||
|
HorzScrollBar.Page = 399
|
||||||
|
VertScrollBar.Page = 146
|
||||||
|
Left = 312
|
||||||
|
Height = 147
|
||||||
|
Top = 829
|
||||||
|
Width = 400
|
||||||
|
object VariableLabel: TLabel
|
||||||
|
Align = alTop
|
||||||
|
BorderSpacing.Around = 6
|
||||||
|
Caption = 'VariableLabel'
|
||||||
|
Color = clNone
|
||||||
|
ParentColor = False
|
||||||
|
Left = 6
|
||||||
|
Height = 14
|
||||||
|
Top = 6
|
||||||
|
Width = 388
|
||||||
|
end
|
||||||
|
object ValueLabel: TLabel
|
||||||
|
Align = alTop
|
||||||
|
BorderSpacing.Around = 6
|
||||||
|
Caption = 'ValueLabel'
|
||||||
|
Color = clNone
|
||||||
|
ParentColor = False
|
||||||
|
Left = 6
|
||||||
|
Height = 14
|
||||||
|
Top = 55
|
||||||
|
Width = 388
|
||||||
|
end
|
||||||
|
object ValueEdit: TEdit
|
||||||
|
Align = alTop
|
||||||
|
BorderSpacing.Around = 6
|
||||||
|
TabOrder = 0
|
||||||
|
Text = 'ValueEdit'
|
||||||
|
Left = 6
|
||||||
|
Height = 23
|
||||||
|
Top = 75
|
||||||
|
Width = 388
|
||||||
|
end
|
||||||
|
object VariableEdit: TEdit
|
||||||
|
Align = alTop
|
||||||
|
BorderSpacing.Around = 6
|
||||||
|
TabOrder = 1
|
||||||
|
Text = 'VariableEdit'
|
||||||
|
Left = 6
|
||||||
|
Height = 23
|
||||||
|
Top = 26
|
||||||
|
Width = 388
|
||||||
|
end
|
||||||
|
object OKButton: TBitBtn
|
||||||
|
Anchors = [akRight, akBottom]
|
||||||
|
AutoSize = True
|
||||||
|
BorderSpacing.Right = 6
|
||||||
|
BorderSpacing.InnerBorder = 2
|
||||||
|
Caption = '&OK'
|
||||||
|
Default = True
|
||||||
|
Kind = bkOK
|
||||||
|
ModalResult = 1
|
||||||
|
NumGlyphs = 0
|
||||||
|
OnClick = OkButtonClick
|
||||||
|
TabOrder = 2
|
||||||
|
AnchorSideRight.Control = Owner
|
||||||
|
AnchorSideRight.Side = asrBottom
|
||||||
|
Left = 326
|
||||||
|
Height = 34
|
||||||
|
Top = 106
|
||||||
|
Width = 68
|
||||||
|
end
|
||||||
|
object CancelButton: TBitBtn
|
||||||
|
Anchors = [akRight, akBottom]
|
||||||
|
AutoSize = True
|
||||||
|
BorderSpacing.Right = 6
|
||||||
|
BorderSpacing.InnerBorder = 2
|
||||||
|
Caption = 'Cancel'
|
||||||
|
Kind = bkCancel
|
||||||
|
ModalResult = 2
|
||||||
|
NumGlyphs = 0
|
||||||
|
TabOrder = 3
|
||||||
|
AnchorSideRight.Control = OKButton
|
||||||
|
Left = 240
|
||||||
|
Height = 34
|
||||||
|
Top = 106
|
||||||
|
Width = 80
|
||||||
|
end
|
||||||
|
end
|
||||||
30
ide/sysvaruseroverridedlg.lrs
Normal file
30
ide/sysvaruseroverridedlg.lrs
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{ This is an automatically generated lazarus resource file }
|
||||||
|
|
||||||
|
LazarusResources.Add('TSysVarUserOverrideDialog','FORMDATA',[
|
||||||
|
'TPF0'#25'TSysVarUserOverrideDialog'#24'SysVarUserOverrideDialog'#13'ActiveCo'
|
||||||
|
+'ntrol'#7#9'ValueEdit'#5'Align'#7#5'alTop'#7'Caption'#6#24'SysVarUserOverrid'
|
||||||
|
+'eDialog'#12'ClientHeight'#3#147#0#11'ClientWidth'#3#144#1#13'PixelsPerInch'
|
||||||
|
+#2'`'#8'Position'#7#14'poScreenCenter'#18'HorzScrollBar.Page'#3#143#1#18'Ver'
|
||||||
|
+'tScrollBar.Page'#3#146#0#4'Left'#3'8'#1#6'Height'#3#147#0#3'Top'#3'='#3#5'W'
|
||||||
|
+'idth'#3#144#1#0#6'TLabel'#13'VariableLabel'#5'Align'#7#5'alTop'#20'BorderSp'
|
||||||
|
+'acing.Around'#2#6#7'Caption'#6#13'VariableLabel'#5'Color'#7#6'clNone'#11'Pa'
|
||||||
|
+'rentColor'#8#4'Left'#2#6#6'Height'#2#14#3'Top'#2#6#5'Width'#3#132#1#0#0#6'T'
|
||||||
|
+'Label'#10'ValueLabel'#5'Align'#7#5'alTop'#20'BorderSpacing.Around'#2#6#7'Ca'
|
||||||
|
+'ption'#6#10'ValueLabel'#5'Color'#7#6'clNone'#11'ParentColor'#8#4'Left'#2#6#6
|
||||||
|
+'Height'#2#14#3'Top'#2'7'#5'Width'#3#132#1#0#0#5'TEdit'#9'ValueEdit'#5'Align'
|
||||||
|
+#7#5'alTop'#20'BorderSpacing.Around'#2#6#8'TabOrder'#2#0#4'Text'#6#9'ValueEd'
|
||||||
|
+'it'#4'Left'#2#6#6'Height'#2#23#3'Top'#2'K'#5'Width'#3#132#1#0#0#5'TEdit'#12
|
||||||
|
+'VariableEdit'#5'Align'#7#5'alTop'#20'BorderSpacing.Around'#2#6#8'TabOrder'#2
|
||||||
|
+#1#4'Text'#6#12'VariableEdit'#4'Left'#2#6#6'Height'#2#23#3'Top'#2#26#5'Width'
|
||||||
|
+#3#132#1#0#0#7'TBitBtn'#8'OKButton'#7'Anchors'#11#7'akRight'#8'akBottom'#0#8
|
||||||
|
+'AutoSize'#9#19'BorderSpacing.Right'#2#6#25'BorderSpacing.InnerBorder'#2#2#7
|
||||||
|
+'Caption'#6#3'&OK'#7'Default'#9#4'Kind'#7#4'bkOK'#11'ModalResult'#2#1#9'NumG'
|
||||||
|
+'lyphs'#2#0#7'OnClick'#7#13'OkButtonClick'#8'TabOrder'#2#2#23'AnchorSideRigh'
|
||||||
|
+'t.Control'#7#5'Owner'#20'AnchorSideRight.Side'#7#9'asrBottom'#4'Left'#3'F'#1
|
||||||
|
+#6'Height'#2'"'#3'Top'#2'j'#5'Width'#2'D'#0#0#7'TBitBtn'#12'CancelButton'#7
|
||||||
|
+'Anchors'#11#7'akRight'#8'akBottom'#0#8'AutoSize'#9#19'BorderSpacing.Right'#2
|
||||||
|
+#6#25'BorderSpacing.InnerBorder'#2#2#7'Caption'#6#6'Cancel'#4'Kind'#7#8'bkCa'
|
||||||
|
+'ncel'#11'ModalResult'#2#2#9'NumGlyphs'#2#0#8'TabOrder'#2#3#23'AnchorSideRig'
|
||||||
|
+'ht.Control'#7#8'OKButton'#4'Left'#3#240#0#6'Height'#2'"'#3'Top'#2'j'#5'Widt'
|
||||||
|
+'h'#2'P'#0#0#0
|
||||||
|
]);
|
||||||
@ -40,16 +40,15 @@ uses
|
|||||||
LazarusIDEStrConsts, LResources;
|
LazarusIDEStrConsts, LResources;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
{ TSysVarUserOverrideDialog }
|
||||||
TSysVarUserOverrideDialog = class(TForm)
|
TSysVarUserOverrideDialog = class(TForm)
|
||||||
|
OKButton: TBitBtn;
|
||||||
|
CancelButton: TBitBtn;
|
||||||
VariableLabel: TLabel;
|
VariableLabel: TLabel;
|
||||||
VariableEdit: TEdit;
|
VariableEdit: TEdit;
|
||||||
ValueLabel: TLabel;
|
ValueLabel: TLabel;
|
||||||
ValueEdit: TEdit;
|
ValueEdit: TEdit;
|
||||||
OkButton: TButton;
|
|
||||||
CancelButton: TButton;
|
|
||||||
procedure OkButtonClick(Sender: TObject);
|
procedure OkButtonClick(Sender: TObject);
|
||||||
procedure CancelButtonClick(Sender: TObject);
|
|
||||||
procedure SysVarUserOverrideDialogResize(Sender: TObject);
|
|
||||||
private
|
private
|
||||||
public
|
public
|
||||||
constructor Create(TheOwner: TComponent); override;
|
constructor Create(TheOwner: TComponent); override;
|
||||||
@ -57,10 +56,8 @@ type
|
|||||||
|
|
||||||
function ShowSysVarUserOverrideDialog(var Variable, Value: string): TModalResult;
|
function ShowSysVarUserOverrideDialog(var Variable, Value: string): TModalResult;
|
||||||
|
|
||||||
|
|
||||||
implementation
|
implementation
|
||||||
|
|
||||||
|
|
||||||
function ShowSysVarUserOverrideDialog(var Variable, Value: string): TModalResult;
|
function ShowSysVarUserOverrideDialog(var Variable, Value: string): TModalResult;
|
||||||
var SysVarUserOverrideDialog: TSysVarUserOverrideDialog;
|
var SysVarUserOverrideDialog: TSysVarUserOverrideDialog;
|
||||||
begin
|
begin
|
||||||
@ -89,115 +86,23 @@ begin
|
|||||||
mtWarning,[mbCancel,mbIgnore],0)=mrCancel
|
mtWarning,[mbCancel,mbIgnore],0)=mrCancel
|
||||||
then exit;
|
then exit;
|
||||||
end;
|
end;
|
||||||
ModalResult:=mrOk;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TSysVarUserOverrideDialog.CancelButtonClick(Sender: TObject);
|
|
||||||
begin
|
|
||||||
ModalResult:=mrCancel;
|
|
||||||
end;
|
|
||||||
|
|
||||||
procedure TSysVarUserOverrideDialog.SysVarUserOverrideDialogResize(
|
|
||||||
Sender: TObject);
|
|
||||||
begin
|
|
||||||
with VariableLabel do begin
|
|
||||||
SetBounds(10,10,150,Height);
|
|
||||||
end;
|
|
||||||
|
|
||||||
with VariableEdit do begin
|
|
||||||
SetBounds(VariableLabel.Left,VariableLabel.Top+VariableLabel.Height+2,
|
|
||||||
Self.ClientWidth-2*VariableLabel.Left,Height);
|
|
||||||
end;
|
|
||||||
|
|
||||||
with ValueLabel do begin
|
|
||||||
SetBounds(VariableEdit.Left,VariableEdit.Top+VariableEdit.Height+10,
|
|
||||||
150,Height);
|
|
||||||
end;
|
|
||||||
|
|
||||||
with ValueEdit do begin
|
|
||||||
SetBounds(ValueLabel.Left,ValueLabel.Top+ValueLabel.Height+2,
|
|
||||||
Self.ClientWidth-2*ValueLabel.Left,Height);
|
|
||||||
end;
|
|
||||||
|
|
||||||
with OkButton do begin
|
|
||||||
SetBounds(Self.ClientWidth-220,Self.ClientHeight-40,100,25);
|
|
||||||
end;
|
|
||||||
|
|
||||||
with CancelButton do begin
|
|
||||||
SetBounds(OkButton.Left+OkButton.Width+10,OkButton.Top,100,25);
|
|
||||||
end;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
constructor TSysVarUserOverrideDialog.Create(TheOwner: TComponent);
|
constructor TSysVarUserOverrideDialog.Create(TheOwner: TComponent);
|
||||||
begin
|
begin
|
||||||
inherited Create(TheOwner);
|
inherited Create(TheOwner);
|
||||||
if LazarusResources.Find(ClassName)=nil then begin
|
|
||||||
|
|
||||||
Caption:=lisSVUOOverrideSystemVariable;
|
Caption:=lisSVUOOverrideSystemVariable;
|
||||||
Width:=400;
|
|
||||||
Height:=170;
|
|
||||||
Position:=poScreenCenter;
|
|
||||||
OnResize:=@SysVarUserOverrideDialogResize;
|
|
||||||
|
|
||||||
VariableLabel:=TLabel.Create(Self);
|
VariableLabel.Caption:=lisCodeToolsDefsVariable;
|
||||||
with VariableLabel do begin
|
ValueLabel.Caption:='Value:';
|
||||||
Name:='VariableLabel';
|
|
||||||
Parent:=Self;
|
|
||||||
SetBounds(10,10,150,Height);
|
|
||||||
Caption:=lisCodeToolsDefsVariable;
|
|
||||||
Visible:=true;
|
|
||||||
end;
|
|
||||||
|
|
||||||
VariableEdit:=TEdit.Create(Self);
|
|
||||||
with VariableEdit do begin
|
|
||||||
Name:='VariableEdit';
|
|
||||||
Parent:=Self;
|
|
||||||
SetBounds(VariableLabel.Left,VariableLabel.Top+VariableLabel.Height+2,
|
|
||||||
Self.ClientWidth-2*VariableLabel.Left,Height);
|
|
||||||
Visible:=true;
|
|
||||||
end;
|
|
||||||
|
|
||||||
ValueLabel:=TLabel.Create(Self);
|
OkButton.Caption:=lisSVUOOk;
|
||||||
with ValueLabel do begin
|
CancelButton.Caption:=dlgCancel;
|
||||||
Name:='ValueLabel';
|
|
||||||
Parent:=Self;
|
|
||||||
SetBounds(VariableEdit.Left,VariableEdit.Top+VariableEdit.Height+10,
|
|
||||||
150,Height);
|
|
||||||
Caption:='Value:';
|
|
||||||
Visible:=true;
|
|
||||||
end;
|
|
||||||
|
|
||||||
ValueEdit:=TEdit.Create(Self);
|
|
||||||
with ValueEdit do begin
|
|
||||||
Name:='ValueEdit';
|
|
||||||
Parent:=Self;
|
|
||||||
SetBounds(ValueLabel.Left,ValueLabel.Top+ValueLabel.Height+2,
|
|
||||||
Self.ClientWidth-2*ValueLabel.Left,Height);
|
|
||||||
Visible:=true;
|
|
||||||
end;
|
|
||||||
|
|
||||||
OkButton:=TButton.Create(Self);
|
|
||||||
with OkButton do begin
|
|
||||||
Name:='OkButton';
|
|
||||||
Parent:=Self;
|
|
||||||
SetBounds(Self.ClientWidth-220,Self.ClientHeight-40,100,25);
|
|
||||||
Caption:=lisSVUOOk;
|
|
||||||
OnClick:=@OkButtonClick;
|
|
||||||
Visible:=true;
|
|
||||||
end;
|
|
||||||
|
|
||||||
CancelButton:=TButton.Create(Self);
|
|
||||||
with CancelButton do begin
|
|
||||||
Name:='CancelButton';
|
|
||||||
Parent:=Self;
|
|
||||||
SetBounds(OkButton.Left+OkButton.Width+10,OkButton.Top,100,25);
|
|
||||||
Caption:=dlgCancel;
|
|
||||||
OnClick:=@CancelButtonClick;
|
|
||||||
Visible:=true;
|
|
||||||
end;
|
|
||||||
end;
|
|
||||||
SysVarUserOverrideDialogResize(nil);
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
initialization
|
||||||
|
{$I sysvaruseroverridedlg.lrs}
|
||||||
|
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user