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/FormColumns.pas

    r149 r162  
    44
    55uses
    6   Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, VCard;
     6  Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, VCard, FormEx;
    77
    88type
     
    1010  { TFormColumns }
    1111
    12   TFormColumns = class(TForm)
     12  TFormColumns = class(TFormEx)
    1313    ButtonUp: TButton;
    1414    ButtonToLeft: TButton;
     
    2626    procedure ButtonToRightClick(Sender: TObject);
    2727    procedure ButtonUpClick(Sender: TObject);
    28     procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    2928    procedure FormCreate(Sender: TObject);
    3029    procedure FormDestroy(Sender: TObject);
     
    4544{$R *.lfm}
    4645
    47 uses
    48   Core;
    49 
    5046{ TFormColumns }
    5147
    5248procedure TFormColumns.FormShow(Sender: TObject);
    5349begin
    54   Core.Core.PersistentForm1.Load(Self);
    55 
    5650  ListBoxActive.Items.Assign(ActiveColumns);
    5751  ListBoxAvailable.Items.Assign(AvailableColumns);
     
    8579  ListBox.Items.Objects[Index1] := ListBox.Items.Objects[Index2];
    8680  ListBox.Items.Objects[Index2] := TempObject;
    87 end;
    88 
    89 procedure TFormColumns.FormClose(Sender: TObject; var CloseAction: TCloseAction
    90   );
    91 begin
    92   Core.Core.PersistentForm1.Save(Self);
    9381end;
    9482
     
    136124procedure TFormColumns.FormCreate(Sender: TObject);
    137125begin
    138   Core.Core.Translator.TranslateComponentRecursive(Self);
    139   Core.Core.ThemeManager1.UseTheme(Self);
    140126  ActiveColumns := TStringList.Create;
    141127  AvailableColumns := TStringList.Create;
Note: See TracChangeset for help on using the changeset viewer.