Ignore:
Timestamp:
Jan 29, 2019, 11:05:47 PM (6 years ago)
Author:
chronos
Message:
  • Added: Delete button to unit move dialog.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Forms/UFormMove.pas

    r243 r272  
    1414
    1515  TFormMove = class(TForm)
     16    ButtonRemove: TButton;
    1617    ButtonRepeatMax: TButton;
    1718    ButtonOnceMin: TButton;
     
    2930    TrackBarRepeat: TTrackBar;
    3031    procedure ButtonOnceMaxClick(Sender: TObject);
     32    procedure ButtonRemoveClick(Sender: TObject);
    3133    procedure ButtonRepeatMinClick(Sender: TObject);
    3234    procedure FormClose(Sender: TObject; var CloseAction: TCloseAction);
     
    112114end;
    113115
     116procedure TFormMove.ButtonRemoveClick(Sender: TObject);
     117begin
     118  SpinEditOnce.Value := 0;
     119  SpinEditRepeat.Value := 0;
     120  ModalResult := mrOk;
     121end;
     122
    114123procedure TFormMove.ButtonRepeatMinClick(Sender: TObject);
    115124begin
Note: See TracChangeset for help on using the changeset viewer.