Changeset 301 for trunk/Forms/UFormAbout.pas
- Timestamp:
- Jul 10, 2019, 11:35:10 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormAbout.pas
r243 r301 24 24 procedure FormCreate(Sender: TObject); 25 25 procedure FormShow(Sender: TObject); 26 private27 { private declarations }28 26 public 29 { public declarations }27 ApplicationInfo: TApplicationInfo; 30 28 end; 31 29 … … 50 48 begin 51 49 Core.ThemeManager1.UseTheme(Self); 52 with Core dobegin50 if Assigned(ApplicationInfo) then begin 53 51 LabelAppName.Caption := ApplicationInfo.AppName; 54 52 LabelContent.Caption := SVersion + ': ' + ApplicationInfo.Version + LineEnding + 55 53 SReleaseDate + ': ' + DateToStr(ApplicationInfo.ReleaseDate) + LineEnding + 56 54 SLicense + ': ' + ApplicationInfo.License; 55 LabelDescription.Caption := ApplicationInfo.Description; 57 56 end; 58 57 end; … … 60 59 procedure TFormAbout.ButtonHomePageClick(Sender: TObject); 61 60 begin 62 OpenWebPage(Core.ApplicationInfo.HomePage); 61 if Assigned(ApplicationInfo) then 62 OpenWebPage(ApplicationInfo.HomePage); 63 63 end; 64 64
Note:
See TracChangeset
for help on using the changeset viewer.