Ignore:
Timestamp:
Jun 30, 2023, 10:01:24 PM (17 months ago)
Author:
chronos
Message:
  • Modified: Updated Common package.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/FormSource.pas

    r149 r162  
    55uses
    66  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, ActnList, Menus,
    7   StdCtrls, SynEdit, SynHighlighterAny, VCardHighlighter, Common;
     7  StdCtrls, SynEdit, SynHighlighterAny, VCardHighlighter, Common, FormEx;
    88
    99type
     
    1111  { TFormSource }
    1212
    13   TFormSource = class(TForm)
     13  TFormSource = class(TFormEx)
    1414    APaste: TAction;
    1515    ACopy: TAction;
     
    2929    procedure APasteExecute(Sender: TObject);
    3030    procedure ASelectAllExecute(Sender: TObject);
    31     procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    3231    procedure FormCreate(Sender: TObject);
    3332    procedure FormDestroy(Sender: TObject);
     
    5150
    5251{ TFormSource }
    53 
    54 procedure TFormSource.FormClose(Sender: TObject; var CloseAction: TCloseAction);
    55 begin
    56   Core.Core.PersistentForm1.Save(Self);
    57 end;
    5852
    5953procedure TFormSource.ASelectAllExecute(Sender: TObject);
     
    8276  I: Integer;
    8377begin
    84   Core.Core.Translator.TranslateComponentRecursive(Self);
    85   Core.Core.ThemeManager1.UseTheme(Self);
    86 
    8778  VCardHighlighter := TSynVCardHighlighter.Create(nil);
    8879  ContactFields := TContact.GetFields;
     
    10293procedure TFormSource.FormShow(Sender: TObject);
    10394begin
    104   Core.Core.PersistentForm1.Load(Self);
    10595  UpdateTheme;
    10696end;
Note: See TracChangeset for help on using the changeset viewer.