Changeset 26 for trunk/UCore.pas


Ignore:
Timestamp:
Mar 3, 2014, 12:59:49 AM (11 years ago)
Author:
chronos
Message:
  • Fixed: Computer couldn't attack some cells.
  • Added: Move dialog now have trackbar control to easily set desired value.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/UCore.pas

    r25 r26  
    6060    else FormMove.SpinEditOnce.MaxValue := CellFrom.GetAvialPower;
    6161  FormMove.SpinEditOnce.Value := CountOnce;
     62  FormMove.TrackBarOnce.Max := FormMove.SpinEditOnce.MaxValue;
     63  FormMove.TrackBarOnce.Position := FormMove.SpinEditOnce.Value;
    6264  FormMove.SpinEditRepeat.MaxValue := Game.Map.MaxPower;
    6365  FormMove.SpinEditRepeat.Value := CountRepeat;
     66  FormMove.TrackBarRepeat.Max := FormMove.SpinEditRepeat.MaxValue;
     67  FormMove.TrackBarRepeat.Position := FormMove.SpinEditRepeat.Value;
    6468  if FormMove.ShowModal = mrOk then begin
    6569    CountOnce := FormMove.SpinEditOnce.Value;
Note: See TracChangeset for help on using the changeset viewer.