mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 12:18:03 +02:00
IDE: package options: hints for package types
git-svn-id: trunk@40714 -
This commit is contained in:
parent
8831d137eb
commit
458f42b286
@ -5646,6 +5646,18 @@ resourcestring
|
||||
rsAttachTo = 'Attach to';
|
||||
rsEnterPID = 'Enter PID';
|
||||
lisFreePascalCompilerMessages = 'Free Pascal Compiler messages';
|
||||
lisRunAndDesignTimePackagesHaveNoLimitations = '"Run and Design time" '
|
||||
+'packages have no limitations.';
|
||||
lisDesignTimePackagesAddComponentsAndMenuItemsToTheID = '"Design time" '
|
||||
+'packages add components and menu items to the IDE. They can be used by '
|
||||
+'projects, but are not compiled into the project. The compiler will not '
|
||||
+'find units of this package when compiling the project.';
|
||||
lisRunTimePackagesCanBeUsedByProjectsTheyCanNotBeInst = '"Run time" packages'
|
||||
+' can be used by projects. They can not be installed in the IDE, unless '
|
||||
+'some design time package requires them.';
|
||||
lisRunTimeOnlyPackagesAreOnlyForProjectsTheyCanNotBeI = '"Run time only" '
|
||||
+'packages are only for projects. They can not be installed in the IDE, '
|
||||
+'not even indirectly.';
|
||||
|
||||
implementation
|
||||
|
||||
|
@ -136,6 +136,8 @@ object PackageIntegrationOptionsFrame: TPackageIntegrationOptionsFrame
|
||||
Width = 445
|
||||
Caption = 'RunAndDesignTimeRadioButton'
|
||||
Checked = True
|
||||
ParentShowHint = False
|
||||
ShowHint = True
|
||||
TabOrder = 0
|
||||
TabStop = True
|
||||
end
|
||||
@ -145,6 +147,8 @@ object PackageIntegrationOptionsFrame: TPackageIntegrationOptionsFrame
|
||||
Top = 30
|
||||
Width = 445
|
||||
Caption = 'DesignTimeRadioButton'
|
||||
ParentShowHint = False
|
||||
ShowHint = True
|
||||
TabOrder = 1
|
||||
end
|
||||
object RunTimeRadioButton: TRadioButton
|
||||
@ -153,6 +157,8 @@ object PackageIntegrationOptionsFrame: TPackageIntegrationOptionsFrame
|
||||
Top = 54
|
||||
Width = 445
|
||||
Caption = 'RunTimeRadioButton'
|
||||
ParentShowHint = False
|
||||
ShowHint = True
|
||||
TabOrder = 2
|
||||
end
|
||||
object RunTimeOnlyRadioButton: TRadioButton
|
||||
@ -161,6 +167,8 @@ object PackageIntegrationOptionsFrame: TPackageIntegrationOptionsFrame
|
||||
Top = 78
|
||||
Width = 445
|
||||
Caption = 'RunTimeOnlyRadioButton'
|
||||
ParentShowHint = False
|
||||
ShowHint = True
|
||||
TabOrder = 3
|
||||
end
|
||||
end
|
||||
|
@ -176,9 +176,17 @@ procedure TPackageIntegrationOptionsFrame.Setup(ADialog: TAbstractOptionsEditorD
|
||||
begin
|
||||
PkgTypeGroupBox.Caption := lisPckOptsPackageType;
|
||||
RunAndDesignTimeRadioButton.Caption:=PkgTypeToCaption(lptRunAndDesignTime);
|
||||
RunAndDesignTimeRadioButton.Hint:=
|
||||
lisRunAndDesignTimePackagesHaveNoLimitations;
|
||||
DesignTimeRadioButton.Caption:=PkgTypeToCaption(lptDesignTime);
|
||||
DesignTimeRadioButton.Hint:=
|
||||
lisDesignTimePackagesAddComponentsAndMenuItemsToTheID;
|
||||
RunTimeRadioButton.Caption:=PkgTypeToCaption(lptRunTime);
|
||||
RunTimeRadioButton.Hint:=
|
||||
lisRunTimePackagesCanBeUsedByProjectsTheyCanNotBeInst;
|
||||
RunTimeOnlyRadioButton.Caption:=PkgTypeToCaption(lptRunTimeOnly);
|
||||
RunTimeOnlyRadioButton.Hint:=
|
||||
lisRunTimeOnlyPackagesAreOnlyForProjectsTheyCanNotBeI;
|
||||
|
||||
UpdateRadioGroup.Caption := lisPckOptsUpdateRebuild;
|
||||
UpdateRadioGroup.Items[0] := lisPckOptsAutomaticallyRebuildAsNeeded;
|
||||
|
@ -502,7 +502,7 @@ type
|
||||
lptRunTime, // RunTime packages can't register anything in the IDE.
|
||||
// They can be used by designtime packages.
|
||||
lptDesignTime, // DesignTime packages can register anything in the IDE
|
||||
// and should not be compiled into projects.
|
||||
// and are not compiled into projects.
|
||||
// The IDE calls the 'register' procedures of each unit.
|
||||
lptRunAndDesignTime,// RunAndDesignTime packages can do anything.
|
||||
lptRunTimeOnly // as lptRunTime, but they can not be used in the IDE
|
||||
|
Loading…
Reference in New Issue
Block a user