Changeset 317 for trunk/Forms/FormList.pas
- Timestamp:
- Jun 21, 2024, 12:44:53 PM (5 months ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormList.pas
r316 r317 1 unit UFormList;1 unit FormList; 2 2 3 3 interface … … 5 5 uses 6 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, ComCtrls, 7 ActnList, Menus, UItemList;7 ActnList, Menus, ItemList, FormEx; 8 8 9 9 type 10 10 { TFormList } 11 11 12 TFormList = class(TForm )12 TFormList = class(TFormEx) 13 13 AAdd: TAction; 14 14 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 FormShow(Sender: TObject); … … 58 57 end; 59 58 60 var61 FormList: TFormList;62 63 59 64 60 implementation … … 67 63 68 64 uses 69 UCore, UFormItem;65 FormItem; 70 66 71 67 resourcestring … … 176 172 end; 177 173 178 procedure TFormList.FormClose(Sender: TObject;179 var CloseAction: TCloseAction);180 begin181 Core.PersistentForm.Save(Self);182 end;183 184 174 procedure TFormList.FormCreate(Sender: TObject); 185 175 var 186 176 I: Integer; 187 177 begin 188 Core.CoolTranslator1.TranslateComponentRecursive(Self);189 Core.ThemeManager1.UseTheme(Self);190 178 for I := 0 to ToolBar1.ButtonCount - 1 do 191 179 ToolBar1.Buttons[I].Hint := ToolBar1.Buttons[I].Caption; … … 196 184 procedure TFormList.FormShow(Sender: TObject); 197 185 begin 198 Core.PersistentForm.Load(Self);199 186 UpdateListViewColumns; 200 187 UpdateList;
Note:
See TracChangeset
for help on using the changeset viewer.