Changeset 74 for trunk/Forms/FormMain.pas
- Timestamp:
- Mar 26, 2024, 10:57:56 PM (8 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.