Changeset 162 for trunk/Forms/FormColumns.pas
- Timestamp:
- Jun 30, 2023, 10:01:24 PM (17 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/FormColumns.pas
r149 r162 4 4 5 5 uses 6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, VCard ;6 Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, VCard, FormEx; 7 7 8 8 type … … 10 10 { TFormColumns } 11 11 12 TFormColumns = class(TForm )12 TFormColumns = class(TFormEx) 13 13 ButtonUp: TButton; 14 14 ButtonToLeft: TButton; … … 26 26 procedure ButtonToRightClick(Sender: TObject); 27 27 procedure ButtonUpClick(Sender: TObject); 28 procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);29 28 procedure FormCreate(Sender: TObject); 30 29 procedure FormDestroy(Sender: TObject); … … 45 44 {$R *.lfm} 46 45 47 uses48 Core;49 50 46 { TFormColumns } 51 47 52 48 procedure TFormColumns.FormShow(Sender: TObject); 53 49 begin 54 Core.Core.PersistentForm1.Load(Self);55 56 50 ListBoxActive.Items.Assign(ActiveColumns); 57 51 ListBoxAvailable.Items.Assign(AvailableColumns); … … 85 79 ListBox.Items.Objects[Index1] := ListBox.Items.Objects[Index2]; 86 80 ListBox.Items.Objects[Index2] := TempObject; 87 end;88 89 procedure TFormColumns.FormClose(Sender: TObject; var CloseAction: TCloseAction90 );91 begin92 Core.Core.PersistentForm1.Save(Self);93 81 end; 94 82 … … 136 124 procedure TFormColumns.FormCreate(Sender: TObject); 137 125 begin 138 Core.Core.Translator.TranslateComponentRecursive(Self);139 Core.Core.ThemeManager1.UseTheme(Self);140 126 ActiveColumns := TStringList.Create; 141 127 AvailableColumns := TStringList.Create;
Note:
See TracChangeset
for help on using the changeset viewer.