Ignore:
Timestamp:
Sep 21, 2018, 2:09:10 PM (6 years ago)
Author:
chronos
Message:
  • Added: Support for color themes.
  • Added: Remember dimensions for more forms.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMove.pas

    r189 r243  
    3030    procedure ButtonOnceMaxClick(Sender: TObject);
    3131    procedure ButtonRepeatMinClick(Sender: TObject);
     32    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
    3233    procedure FormCreate(Sender: TObject);
    3334    procedure ButtonOnceMinClick(Sender: TObject);
     
    9091procedure TFormMove.FormShow(Sender: TObject);
    9192begin
     93  Core.PersistentForm.Load(Self);
     94  Core.ThemeManager1.UseTheme(Self);
    9295  if SpinEditOnce.MaxValue < SpinEditOnce.Value then begin
    9396    SpinEditOnce.Enabled := False;
     
    112115begin
    113116  TrackBarRepeat.Position := TrackBarRepeat.Min;
     117end;
     118
     119procedure TFormMove.FormClose(Sender: TObject; var CloseAction: TCloseAction);
     120begin
     121  Core.PersistentForm.Save(Self);
    114122end;
    115123
Note: See TracChangeset for help on using the changeset viewer.