Changeset 68 for trunk/Forms/UFormComputer.pas
- Timestamp:
- Jan 26, 2020, 10:57:41 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Forms/UFormComputer.pas
r50 r68 161 161 J: Integer; 162 162 GameTries: TGameTries; 163 Delay: Integer; 163 164 begin 164 165 ButtonStart.Enabled := False; … … 201 202 else Break; 202 203 } 203 Application.ProcessMessages; 204 Sleep(TrackBar1.Position); 204 Delay := TrackBar1.Position; 205 while Delay > 0 do begin 206 Application.ProcessMessages; 207 Sleep(10); 208 Delay := Delay - 10; 209 end; 205 210 end; 206 211 end;
Note:
See TracChangeset
for help on using the changeset viewer.