Changeset 124 for trunk/Forms
- Timestamp:
- Jan 4, 2017, 10:11:03 PM (8 years ago)
- Location:
- trunk/Forms
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormMove.lfm
r107 r124 14 14 OnShow = FormShow 15 15 Position = poMainFormCenter 16 LCLVersion = '1. 4.4.0'16 LCLVersion = '1.6.0.4' 17 17 object SpinEditOnce: TSpinEdit 18 18 Left = 208 19 Height = 3 319 Height = 34 20 20 Top = 40 21 21 Width = 98 … … 26 26 object Label1: TLabel 27 27 Left = 16 28 Height = 2 528 Height = 24 29 29 Top = 40 30 Width = 4 530 Width = 49 31 31 Caption = 'Once:' 32 32 ParentColor = False … … 53 53 object Label2: TLabel 54 54 Left = 24 55 Height = 2 555 Height = 24 56 56 Top = 136 57 Width = 8357 Width = 91 58 58 Caption = 'Every turn:' 59 59 ParentColor = False … … 61 61 object SpinEditRepeat: TSpinEdit 62 62 Left = 208 63 Height = 3 363 Height = 34 64 64 Top = 128 65 65 Width = 98 … … 134 134 object Label3: TLabel 135 135 Left = 16 136 Height = 2 5136 Height = 24 137 137 Top = 8 138 Width = 1 26138 Width = 135 139 139 Caption = 'Win probability:' 140 140 ParentColor = False … … 142 142 object LabelWinProbability: TLabel 143 143 Left = 264 144 Height = 2 5144 Height = 24 145 145 Top = 8 146 146 Width = 15 -
trunk/Forms/UFormMove.pas
r88 r124 90 90 procedure TFormMove.FormShow(Sender: TObject); 91 91 begin 92 SpinEditOnce.SetFocus; 92 if SpinEditOnce.MaxValue < SpinEditOnce.Value then begin 93 SpinEditOnce.Enabled := False; 94 SpinEditOnce.Value := 0; 95 TrackBarOnce.Enabled := False; 96 TrackBarOnce.Max := 0; 97 SpinEditRepeat.SetFocus; 98 end else begin 99 SpinEditOnce.Enabled := True; 100 TrackBarOnce.Enabled := True; 101 SpinEditOnce.SetFocus; 102 end; 93 103 UpdateView; 94 104 end;
Note:
See TracChangeset
for help on using the changeset viewer.