Changeset 162 for trunk/Forms/FormSource.pas
- Timestamp:
- Jun 30, 2023, 10:01:24 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormSource.pas
r149 r162 5 5 uses 6 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ActnList, Menus, 7 StdCtrls, SynEdit, SynHighlighterAny, VCardHighlighter, Common ;7 StdCtrls, SynEdit, SynHighlighterAny, VCardHighlighter, Common, FormEx; 8 8 9 9 type … … 11 11 { TFormSource } 12 12 13 TFormSource = class(TForm )13 TFormSource = class(TFormEx) 14 14 APaste: TAction; 15 15 ACopy: TAction; … … 29 29 procedure APasteExecute(Sender: TObject); 30 30 procedure ASelectAllExecute(Sender: TObject); 31 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);32 31 procedure FormCreate(Sender: TObject); 33 32 procedure FormDestroy(Sender: TObject); … … 51 50 52 51 { TFormSource } 53 54 procedure TFormSource.FormClose(Sender: TObject; var CloseAction: TCloseAction);55 begin56 Core.Core.PersistentForm1.Save(Self);57 end;58 52 59 53 procedure TFormSource.ASelectAllExecute(Sender: TObject); … … 82 76 I: Integer; 83 77 begin 84 Core.Core.Translator.TranslateComponentRecursive(Self);85 Core.Core.ThemeManager1.UseTheme(Self);86 87 78 VCardHighlighter := TSynVCardHighlighter.Create(nil); 88 79 ContactFields := TContact.GetFields; … … 102 93 procedure TFormSource.FormShow(Sender: TObject); 103 94 begin 104 Core.Core.PersistentForm1.Load(Self);105 95 UpdateTheme; 106 96 end;
Note:
See TracChangeset
for help on using the changeset viewer.