Changeset 317 for trunk/Forms/FormGameSystems.pas
- Timestamp:
- Jun 21, 2024, 12:44:53 PM (5 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormGameSystems.pas
r316 r317 1 unit UFormGameSystems;1 unit FormGameSystems; 2 2 3 3 interface … … 5 5 uses 6 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, 7 ActnList, Menus, UGameSystem;7 ActnList, Menus, GameSystem, FormEx; 8 8 9 9 type … … 11 11 { TFormGameSystems } 12 12 13 TFormGameSystems = class(TForm )13 TFormGameSystems = class(TFormEx) 14 14 AAdd: TAction; 15 15 ASelectAll: TAction; … … 34 34 procedure ARemoveExecute(Sender: TObject); 35 35 procedure ASelectAllExecute(Sender: TObject); 36 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);37 36 procedure FormCreate(Sender: TObject); 38 37 procedure FormDestroy(Sender: TObject); … … 51 50 end; 52 51 53 var54 FormGameSystems: TFormGameSystems;55 56 52 57 53 implementation … … 60 56 61 57 uses 62 UCore, UFormGameSystem;58 FormGameSystem; 63 59 64 60 resourcestring … … 90 86 var 91 87 TempEntry: TGameSystem; 88 FormGameSystem: TFormGameSystem; 92 89 begin 93 90 if Assigned(ListView1.Selected) then … … 114 111 var 115 112 TempEntry: TGameSystem; 113 FormGameSystem: TFormGameSystem; 116 114 begin 117 115 TempEntry := TGameSystem.Create; … … 141 139 end; 142 140 143 procedure TFormGameSystems.FormClose(Sender: TObject;144 var CloseAction: TCloseAction);145 begin146 Core.PersistentForm.Save(Self);147 end;148 149 141 procedure TFormGameSystems.FormCreate(Sender: TObject); 150 142 var 151 143 I: Integer; 152 144 begin 153 Core.CoolTranslator1.TranslateComponentRecursive(Self);154 Core.ThemeManager1.UseTheme(Self);155 145 for I := 0 to ToolBar1.ButtonCount - 1 do 156 146 ToolBar1.Buttons[I].Hint := ToolBar1.Buttons[I].Caption; … … 164 154 procedure TFormGameSystems.FormShow(Sender: TObject); 165 155 begin 166 Core.PersistentForm.Load(Self);167 156 UpdateList; 168 157 UpdateInterface;
Note:
See TracChangeset
for help on using the changeset viewer.