You've already forked lazarus-ccr
Beautified about dialog
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2328 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -511,6 +511,8 @@ type
|
||||
procedure EditorFontSizeUp;
|
||||
procedure EditorFontSizeDown;
|
||||
|
||||
procedure AboutLazEdit;
|
||||
|
||||
|
||||
procedure ParseCommandlineFilenames(Dummy: PtrInt); //Dummy is needed for QueueAsyncCall()
|
||||
procedure ParseCommandLineSwitches;
|
||||
@ -880,7 +882,7 @@ end;
|
||||
|
||||
procedure TLazEditMainForm.acAboutExecute(Sender: TObject);
|
||||
begin
|
||||
formAbout.ShowModal;
|
||||
AboutLazEdit;
|
||||
end;
|
||||
|
||||
procedure TLazEditMainForm.acEditFindNextExecute(Sender: TObject);
|
||||
@ -2592,5 +2594,15 @@ begin
|
||||
end;
|
||||
end;
|
||||
|
||||
procedure TLazEditMainForm.AboutLazEdit;
|
||||
begin
|
||||
FormAbout.SetCopyrightInfo(CopyLeftStatement, AuthorWebName, AuthorWebUrl);
|
||||
FormAbout.SetVersionInfo(AppName, AppVersion, '','', '');
|
||||
FormAbout.SetLicenseInfo(LicenseText, LicenseName, LicenseUrl);
|
||||
FormAbout.Top := Top + 15;
|
||||
FormAbout.Left := Left + 15;
|
||||
FormAbout.ShowModal;
|
||||
end;
|
||||
|
||||
end.
|
||||
|
||||
|
Reference in New Issue
Block a user