mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-30 17:50:19 +02:00
IDE: add hints to project forms options.
git-svn-id: trunk@46714 -
This commit is contained in:
parent
1d3a508640
commit
22b3f66be7
@ -1,42 +1,42 @@
|
|||||||
inherited ProjectFormsOptionsFrame: TProjectFormsOptionsFrame
|
object ProjectFormsOptionsFrame: TProjectFormsOptionsFrame
|
||||||
|
Left = 0
|
||||||
Height = 463
|
Height = 463
|
||||||
|
Top = 0
|
||||||
Width = 501
|
Width = 501
|
||||||
ClientHeight = 463
|
ClientHeight = 463
|
||||||
ClientWidth = 501
|
ClientWidth = 501
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
DesignLeft = 356
|
DesignLeft = 356
|
||||||
DesignTop = 178
|
DesignTop = 178
|
||||||
object FormsAutoCreatedLabel: TLabel[0]
|
object FormsAutoCreatedLabel: TLabel
|
||||||
AnchorSideLeft.Control = FormsAutoCreatedListBox
|
AnchorSideLeft.Control = FormsAutoCreatedListBox
|
||||||
AnchorSideTop.Control = Owner
|
AnchorSideTop.Control = Owner
|
||||||
Left = 30
|
Left = 30
|
||||||
Height = 14
|
Height = 20
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 117
|
Width = 160
|
||||||
Caption = 'FormsAutoCreatedLabel'
|
Caption = 'FormsAutoCreatedLabel'
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object FormsAvailFormsLabel: TLabel[1]
|
object FormsAvailFormsLabel: TLabel
|
||||||
AnchorSideLeft.Control = FormsAvailFormsListBox
|
AnchorSideLeft.Control = FormsAvailFormsListBox
|
||||||
AnchorSideTop.Control = Owner
|
AnchorSideTop.Control = Owner
|
||||||
Left = 284
|
Left = 284
|
||||||
Height = 14
|
Height = 20
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 107
|
Width = 149
|
||||||
Caption = 'FormsAvailFormsLabel'
|
Caption = 'FormsAvailFormsLabel'
|
||||||
ParentColor = False
|
ParentColor = False
|
||||||
end
|
end
|
||||||
object FormsMoveAutoCreatedFormUpBtn: TSpeedButton[2]
|
object FormsMoveAutoCreatedFormUpBtn: TSpeedButton
|
||||||
AnchorSideLeft.Control = Owner
|
AnchorSideLeft.Control = Owner
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 24
|
Height = 24
|
||||||
Top = 36
|
Top = 36
|
||||||
Width = 24
|
Width = 24
|
||||||
Color = clBtnFace
|
|
||||||
NumGlyphs = 0
|
|
||||||
OnClick = FormsMoveAutoCreatedFormUpBtnClick
|
OnClick = FormsMoveAutoCreatedFormUpBtnClick
|
||||||
end
|
end
|
||||||
object FormsMoveAutoCreatedFormsDownBtn: TSpeedButton[3]
|
object FormsMoveAutoCreatedFormsDownBtn: TSpeedButton
|
||||||
AnchorSideLeft.Control = Owner
|
AnchorSideLeft.Control = Owner
|
||||||
AnchorSideTop.Control = FormsMoveAutoCreatedFormUpBtn
|
AnchorSideTop.Control = FormsMoveAutoCreatedFormUpBtn
|
||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
@ -45,11 +45,9 @@ inherited ProjectFormsOptionsFrame: TProjectFormsOptionsFrame
|
|||||||
Top = 66
|
Top = 66
|
||||||
Width = 24
|
Width = 24
|
||||||
BorderSpacing.Top = 6
|
BorderSpacing.Top = 6
|
||||||
Color = clBtnFace
|
|
||||||
NumGlyphs = 0
|
|
||||||
OnClick = FormsMoveAutoCreatedFormsDownBtnClick
|
OnClick = FormsMoveAutoCreatedFormsDownBtnClick
|
||||||
end
|
end
|
||||||
object FormsRemoveFromAutoCreatedFormsBtn: TSpeedButton[4]
|
object FormsRemoveFromAutoCreatedFormsBtn: TSpeedButton
|
||||||
AnchorSideLeft.Side = asrCenter
|
AnchorSideLeft.Side = asrCenter
|
||||||
AnchorSideRight.Control = FormsAvailFormsLabel
|
AnchorSideRight.Control = FormsAvailFormsLabel
|
||||||
Left = 254
|
Left = 254
|
||||||
@ -58,11 +56,9 @@ inherited ProjectFormsOptionsFrame: TProjectFormsOptionsFrame
|
|||||||
Width = 24
|
Width = 24
|
||||||
Anchors = [akTop, akRight]
|
Anchors = [akTop, akRight]
|
||||||
BorderSpacing.Right = 6
|
BorderSpacing.Right = 6
|
||||||
Color = clBtnFace
|
|
||||||
NumGlyphs = 0
|
|
||||||
OnClick = FormsRemoveFromAutoCreatedFormsBtnClick
|
OnClick = FormsRemoveFromAutoCreatedFormsBtnClick
|
||||||
end
|
end
|
||||||
object FormsAddToAutoCreatedFormsBtn: TSpeedButton[5]
|
object FormsAddToAutoCreatedFormsBtn: TSpeedButton
|
||||||
AnchorSideLeft.Control = FormsRemoveFromAutoCreatedFormsBtn
|
AnchorSideLeft.Control = FormsRemoveFromAutoCreatedFormsBtn
|
||||||
AnchorSideTop.Control = FormsRemoveFromAutoCreatedFormsBtn
|
AnchorSideTop.Control = FormsRemoveFromAutoCreatedFormsBtn
|
||||||
AnchorSideTop.Side = asrBottom
|
AnchorSideTop.Side = asrBottom
|
||||||
@ -71,11 +67,9 @@ inherited ProjectFormsOptionsFrame: TProjectFormsOptionsFrame
|
|||||||
Top = 66
|
Top = 66
|
||||||
Width = 24
|
Width = 24
|
||||||
BorderSpacing.Top = 6
|
BorderSpacing.Top = 6
|
||||||
Color = clBtnFace
|
|
||||||
NumGlyphs = 0
|
|
||||||
OnClick = FormsAddToAutoCreatedFormsBtnClick
|
OnClick = FormsAddToAutoCreatedFormsBtnClick
|
||||||
end
|
end
|
||||||
object FormsAutoCreatedListBox: TListBox[6]
|
object FormsAutoCreatedListBox: TListBox
|
||||||
AnchorSideLeft.Control = FormsMoveAutoCreatedFormsDownBtn
|
AnchorSideLeft.Control = FormsMoveAutoCreatedFormsDownBtn
|
||||||
AnchorSideLeft.Side = asrBottom
|
AnchorSideLeft.Side = asrBottom
|
||||||
AnchorSideTop.Control = FormsAutoCreatedLabel
|
AnchorSideTop.Control = FormsAutoCreatedLabel
|
||||||
@ -83,8 +77,8 @@ inherited ProjectFormsOptionsFrame: TProjectFormsOptionsFrame
|
|||||||
AnchorSideRight.Control = lblMiddle
|
AnchorSideRight.Control = lblMiddle
|
||||||
AnchorSideBottom.Control = FormsAutoCreateNewFormsCheckBox
|
AnchorSideBottom.Control = FormsAutoCreateNewFormsCheckBox
|
||||||
Left = 30
|
Left = 30
|
||||||
Height = 420
|
Height = 407
|
||||||
Top = 20
|
Top = 26
|
||||||
Width = 217
|
Width = 217
|
||||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||||
BorderSpacing.Left = 6
|
BorderSpacing.Left = 6
|
||||||
@ -94,9 +88,11 @@ inherited ProjectFormsOptionsFrame: TProjectFormsOptionsFrame
|
|||||||
ItemHeight = 0
|
ItemHeight = 0
|
||||||
MultiSelect = True
|
MultiSelect = True
|
||||||
OnDblClick = FormsRemoveFromAutoCreatedFormsBtnClick
|
OnDblClick = FormsRemoveFromAutoCreatedFormsBtnClick
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
TabOrder = 0
|
TabOrder = 0
|
||||||
end
|
end
|
||||||
object FormsAvailFormsListBox: TListBox[7]
|
object FormsAvailFormsListBox: TListBox
|
||||||
AnchorSideLeft.Control = lblMiddle
|
AnchorSideLeft.Control = lblMiddle
|
||||||
AnchorSideLeft.Side = asrBottom
|
AnchorSideLeft.Side = asrBottom
|
||||||
AnchorSideTop.Control = FormsAvailFormsLabel
|
AnchorSideTop.Control = FormsAvailFormsLabel
|
||||||
@ -105,8 +101,8 @@ inherited ProjectFormsOptionsFrame: TProjectFormsOptionsFrame
|
|||||||
AnchorSideRight.Side = asrBottom
|
AnchorSideRight.Side = asrBottom
|
||||||
AnchorSideBottom.Control = FormsAutoCreateNewFormsCheckBox
|
AnchorSideBottom.Control = FormsAutoCreateNewFormsCheckBox
|
||||||
Left = 284
|
Left = 284
|
||||||
Height = 420
|
Height = 407
|
||||||
Top = 20
|
Top = 26
|
||||||
Width = 217
|
Width = 217
|
||||||
Anchors = [akTop, akLeft, akRight, akBottom]
|
Anchors = [akTop, akLeft, akRight, akBottom]
|
||||||
BorderSpacing.Left = 33
|
BorderSpacing.Left = 33
|
||||||
@ -115,20 +111,22 @@ inherited ProjectFormsOptionsFrame: TProjectFormsOptionsFrame
|
|||||||
ItemHeight = 0
|
ItemHeight = 0
|
||||||
MultiSelect = True
|
MultiSelect = True
|
||||||
OnDblClick = FormsAddToAutoCreatedFormsBtnClick
|
OnDblClick = FormsAddToAutoCreatedFormsBtnClick
|
||||||
|
ParentShowHint = False
|
||||||
|
ShowHint = True
|
||||||
TabOrder = 1
|
TabOrder = 1
|
||||||
end
|
end
|
||||||
object FormsAutoCreateNewFormsCheckBox: TCheckBox[8]
|
object FormsAutoCreateNewFormsCheckBox: TCheckBox
|
||||||
AnchorSideLeft.Control = FormsAddToAutoCreatedFormsBtn
|
AnchorSideLeft.Control = FormsAddToAutoCreatedFormsBtn
|
||||||
AnchorSideTop.Control = FormsAutoCreatedListBox
|
AnchorSideTop.Control = FormsAutoCreatedListBox
|
||||||
Left = 0
|
Left = 0
|
||||||
Height = 17
|
Height = 24
|
||||||
Top = 446
|
Top = 439
|
||||||
Width = 501
|
Width = 501
|
||||||
Align = alBottom
|
Align = alBottom
|
||||||
Caption = 'FormsAutoCreateNewFormsCheckBox'
|
Caption = 'FormsAutoCreateNewFormsCheckBox'
|
||||||
TabOrder = 2
|
TabOrder = 2
|
||||||
end
|
end
|
||||||
object lblMiddle: TLabel[9]
|
object lblMiddle: TLabel
|
||||||
AnchorSideLeft.Control = Owner
|
AnchorSideLeft.Control = Owner
|
||||||
AnchorSideLeft.Side = asrCenter
|
AnchorSideLeft.Side = asrCenter
|
||||||
AnchorSideTop.Control = Owner
|
AnchorSideTop.Control = Owner
|
||||||
|
@ -182,7 +182,9 @@ end;
|
|||||||
procedure TProjectFormsOptionsFrame.Setup(ADialog: TAbstractOptionsEditorDialog);
|
procedure TProjectFormsOptionsFrame.Setup(ADialog: TAbstractOptionsEditorDialog);
|
||||||
begin
|
begin
|
||||||
FormsAutoCreatedLabel.Caption := dlgAutoCreateForms;
|
FormsAutoCreatedLabel.Caption := dlgAutoCreateForms;
|
||||||
|
FormsAutoCreatedListBox.Hint := dlgAutoCreateFormsHint;
|
||||||
FormsAvailFormsLabel.Caption := dlgAvailableForms;
|
FormsAvailFormsLabel.Caption := dlgAvailableForms;
|
||||||
|
FormsAvailFormsListBox.Hint := dlgAvailableFormsHint;
|
||||||
FormsAutoCreateNewFormsCheckBox.Caption := dlgAutoCreateNewForms;
|
FormsAutoCreateNewFormsCheckBox.Caption := dlgAutoCreateNewForms;
|
||||||
FormsMoveAutoCreatedFormUpBtn.LoadGlyphFromResourceName(HInstance, 'arrow_up');
|
FormsMoveAutoCreatedFormUpBtn.LoadGlyphFromResourceName(HInstance, 'arrow_up');
|
||||||
FormsMoveAutoCreatedFormsDownBtn.LoadGlyphFromResourceName(HInstance, 'arrow_down');
|
FormsMoveAutoCreatedFormsDownBtn.LoadGlyphFromResourceName(HInstance, 'arrow_down');
|
||||||
|
@ -2337,7 +2337,10 @@ resourcestring
|
|||||||
dlgPOIconDescNone = '(none)';
|
dlgPOIconDescNone = '(none)';
|
||||||
|
|
||||||
dlgAutoCreateForms = 'Auto-create forms:';
|
dlgAutoCreateForms = 'Auto-create forms:';
|
||||||
|
dlgAutoCreateFormsHint = 'Main .lpr unit creates each form with Application.CreateForm(). '
|
||||||
|
+'They are also freed automatically.';
|
||||||
dlgAvailableForms = 'Available forms:';
|
dlgAvailableForms = 'Available forms:';
|
||||||
|
dlgAvailableFormsHint = 'These forms must be created and freed in the program code.';
|
||||||
dlgAutoCreateNewForms = 'When creating new forms, add them to auto-created forms';
|
dlgAutoCreateNewForms = 'When creating new forms, add them to auto-created forms';
|
||||||
dlgSaveEditorInfo = 'Save editor info for closed files';
|
dlgSaveEditorInfo = 'Save editor info for closed files';
|
||||||
dlgSaveEditorInfoProject = 'Save editor info only for project files';
|
dlgSaveEditorInfoProject = 'Save editor info only for project files';
|
||||||
|
Loading…
Reference in New Issue
Block a user