- Changed versions to be read from the resource stream

This commit is contained in:
2011-03-26 22:13:57 +01:00
parent de33600726
commit 4b5cf332ca
6 changed files with 140 additions and 33 deletions
+4 -4
View File
@@ -21,7 +21,7 @@
* CDDL HEADER END
*
*
* Portions Copyright 2007 Andreas Schneider
* Portions Copyright 2011 Andreas Schneider
*)
unit UfrmAbout;
@@ -62,7 +62,8 @@ var
implementation
{$I version.inc}
uses
vinfo;
{ TfrmAbout }
@@ -73,8 +74,7 @@ end;
procedure TfrmAbout.FormCreate(Sender: TObject);
begin
lblVersion.Caption := Format('Version %s', [ProductVersion]);
lblCopyright.Caption := Format('Copyright %s', [Copyright]);
lblVersion.Caption := Format('Version %s', [VersionInfo.GetProductVersionString]);
end;
initialization