Changeset 219 for trunk/Forms/FormAcronym.pas
- Timestamp:
- Jan 17, 2025, 9:05:54 PM (4 days ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormAcronym.pas
r218 r219 1 unit UFormAcronym; 2 3 {$mode delphi} 1 unit FormAcronym; 4 2 5 3 interface … … 7 5 uses 8 6 Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, Menus, 9 StdCtrls, ActnList, UAcronym;7 StdCtrls, ActnList, Acronym, FormEx; 10 8 11 9 type … … 13 11 { TFormAcronym } 14 12 15 TFormAcronym = class(TForm )13 TFormAcronym = class(TFormEx) 16 14 ACategoryRemove: TAction; 17 15 ACategoryAdd: TAction; … … 37 35 procedure ACategoryRemoveExecute(Sender: TObject); 38 36 procedure EditMeaningKeyPress(Sender: TObject; var Key: char); 39 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);40 procedure FormCreate(Sender: TObject);41 37 procedure FormShow(Sender: TObject); 42 38 procedure ListBoxCategoriesSelectionChange(Sender: TObject; User: boolean); … … 48 44 end; 49 45 50 var51 FormAcronym: TFormAcronym;52 46 53 47 implementation … … 56 50 57 51 uses 58 UCore, UFormCategorySelect;52 FormCategorySelect; 59 53 60 54 { TFormAcronym } 61 62 procedure TFormAcronym.FormClose(Sender: TObject; var CloseAction: TCloseAction63 );64 begin65 Core.PersistentForm1.Save(Self);66 end;67 68 procedure TFormAcronym.FormCreate(Sender: TObject);69 begin70 Core.Translator.TranslateComponentRecursive(Self);71 Core.ThemeManager.UseTheme(Self);72 end;73 55 74 56 procedure TFormAcronym.ACategoryAddExecute(Sender: TObject); 75 57 var 76 58 I: Integer; 59 FormCategorySelect: TFormCategorySelect; 77 60 begin 78 61 FormCategorySelect := TFormCategorySelect.Create(Self); … … 111 94 procedure TFormAcronym.FormShow(Sender: TObject); 112 95 begin 113 Core.PersistentForm1.Load(Self);114 96 UpdateInterface; 115 97 end;
Note:
See TracChangeset
for help on using the changeset viewer.