Changeset 74 for trunk/Forms
- Timestamp:
- Mar 26, 2024, 10:57:56 PM (8 months ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormMain.lfm
r73 r74 22 22 Top = 555 23 23 Width = 770 24 Panels = < 24 Panels = < 25 25 item 26 26 Width = 74 27 end 27 end 28 28 item 29 29 Width = 74 30 end 30 end 31 31 item 32 32 Width = 74 33 end 33 end 34 34 item 35 35 Width = 74 36 end 36 end 37 37 item 38 38 Width = 74 39 end 39 end 40 40 item 41 41 Width = 74 42 end 42 end 43 43 item 44 44 Width = 74 … … 133 133 end 134 134 end 135 object AboutDialog1: TAboutDialog136 Translator = Core.Translator1137 ThemeManager = Core.ThemeManager1138 ApplicationInfo = Core.ApplicationInfo139 Left = 308140 Top = 181141 end142 135 end -
trunk/Forms/FormMain.pas
r73 r74 6 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, LCLType, 7 7 Dialogs, ExtCtrls, ComCtrls, Menus, ActnList, Engine, Platform, Math, 8 DateUtils, GraphType, UPersistentForm, UApplicationInfo, UTranslator,9 URegistry, UAboutDialog, FormNewGame, FormMap;8 DateUtils, GraphType, PersistentForm, ApplicationInfo, Translator, 9 RegistryEx, FormAbout, FormNewGame, FormMap; 10 10 11 11 type … … 15 15 TFormMain = class(TForm) 16 16 AAbout: TAction; 17 AboutDialog1: TAboutDialog;18 17 AShowRawImageDesc: TAction; 19 18 AShowMap: TAction; … … 248 247 249 248 procedure TFormMain.AAboutExecute(Sender: TObject); 250 begin 251 AboutDialog1.Show; 249 var 250 FormAbout: TFormAbout; 251 begin 252 try 253 FormAbout := TFormAbout.Create(nil); 254 FormAbout.ApplicationInfo := Core.Core.ApplicationInfo; 255 FormAbout.ShowModal; 256 finally 257 FreeAndNil(FormAbout); 258 end; 252 259 end; 253 260
Note:
See TracChangeset
for help on using the changeset viewer.