You've already forked lazarus-ccr
lazedit: Adds a about box
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2299 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -47,8 +47,7 @@ uses
|
||||
SynEdit, SynEditTypes,
|
||||
EditorPageControl,
|
||||
EPlus_Commons, lazedit_config, HtmlCode, HtmlDialogs, lazedit_constants,
|
||||
lazedit_translations{
|
||||
MyFileUtils, Fcl_Misc, MruLists, MyGetOpt, ExtAbout, NlAutoTranslation};
|
||||
lazedit_translations, lazedit_about;
|
||||
|
||||
type
|
||||
|
||||
@ -416,8 +415,6 @@ type
|
||||
procedure mnuViewFontSizeUpClick(Sender: TObject);
|
||||
procedure mnuSetHighlighterClick(Sender: TObject);
|
||||
|
||||
procedure AboutEPlus;
|
||||
|
||||
procedure DoFind(Sender: TObject); //callback for FindDialog
|
||||
procedure DoReplace(Sender: TObject); //callback for ReplaceDialog
|
||||
|
||||
@ -880,7 +877,7 @@ end;
|
||||
|
||||
procedure TLazEditMainForm.acAboutExecute(Sender: TObject);
|
||||
begin
|
||||
AboutEplus;
|
||||
formAbout.ShowModal;
|
||||
end;
|
||||
|
||||
procedure TLazEditMainForm.acEditFindNextExecute(Sender: TObject);
|
||||
@ -2550,32 +2547,5 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
|
||||
{ ************************** [ About ] *********************** }
|
||||
|
||||
procedure TLazEditMainForm.AboutEPlus;
|
||||
{var
|
||||
Dlg: TExtAboutDlg;}
|
||||
begin
|
||||
{ Dlg := TExtAboutDlg.Create;
|
||||
try
|
||||
Dlg.Caption := AboutTitle;
|
||||
Dlg.ProductName := AppName;
|
||||
Dlg.Version := AppVersion;
|
||||
Dlg.CopyrightStatement := CopyLeftStatement;
|
||||
Dlg.WebsiteCaption := AuthorWebName;
|
||||
Dlg.WebsiteURL := AuthorWebUrl;
|
||||
Dlg.LicenseText := LicenseText;
|
||||
Dlg.LicenseWebsiteCaption := LicenseName;
|
||||
Dlg.LicenseWebsiteURL := LicenseUrl;
|
||||
Dlg.Top := Top + 20;
|
||||
Dlg.Left := Left + 20;
|
||||
Dlg.Execute;
|
||||
finally
|
||||
Dlg.Free;
|
||||
end;}
|
||||
end;
|
||||
|
||||
|
||||
end.
|
||||
|
||||
|
Reference in New Issue
Block a user