mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-14 11:39:25 +02:00
Merge branch 'DocEditor/About/HelpButton' into 'main'
DocEditor: Add a wiki link for the help button See merge request freepascal.org/lazarus/lazarus!535
This commit is contained in:
commit
62b2225f98
@ -81,6 +81,7 @@ object AboutForm: TAboutForm
|
||||
Height = 40
|
||||
Top = 285
|
||||
Width = 516
|
||||
HelpButton.OnClick = HelpButtonClick
|
||||
TabOrder = 1
|
||||
ShowButtons = [pbClose, pbHelp]
|
||||
end
|
||||
|
@ -27,7 +27,7 @@ unit FrmAbout;
|
||||
interface
|
||||
|
||||
uses
|
||||
SysUtils, Forms, StdCtrls, ButtonPanel, LazFileUtils;
|
||||
SysUtils, Forms, StdCtrls, ButtonPanel, LCLIntf, LazFileUtils;
|
||||
|
||||
const
|
||||
LicenseFile = 'COPYING.GPL.txt';
|
||||
@ -43,6 +43,7 @@ type
|
||||
LCopyRight2: TLabel;
|
||||
MCopyRight: TMemo;
|
||||
procedure FormCreate(Sender: TObject);
|
||||
procedure HelpButtonClick(Sender: TObject);
|
||||
private
|
||||
procedure LoadLicense;
|
||||
public
|
||||
@ -68,6 +69,11 @@ begin
|
||||
LoadLicense;
|
||||
end;
|
||||
|
||||
procedure TAboutForm.HelpButtonClick(Sender: TObject);
|
||||
begin
|
||||
OpenURL('https://wiki.freepascal.org/Lazarus_Documentation_Editor');
|
||||
end;
|
||||
|
||||
procedure TAboutForm.LoadLicense;
|
||||
var
|
||||
GPLFileName:string;
|
||||
|
Loading…
Reference in New Issue
Block a user