Changeset 58
- Timestamp:
- Dec 27, 2006, 12:37:24 AM (18 years ago)
- Location:
- oup/current
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
oup/current/Helper_LevelDB.pas
r56 r58 261 261 FilesHeader[i].FileType := fileinfo.FileType; 262 262 263 if ((i mod 25) = 0) and (i >= 100) then264 lbl_estimation.Caption := 'Estimated finishing time: ' + TimeToStr(265 (Time - begintime) / i * progress.Max + begintime);263 if ((i mod 10) = 0) and (i >= 100) then 264 lbl_estimation.Caption := 'Estimated time left: ' + TimeToStr( 265 (Time - begintime) / i * (progress.Max - i + 1) * 1.1 ); 266 266 progress.Position := i + 1; 267 267 lbl_progress.Caption := 'Files done: ' + IntToStr(i + 1) + '/' + IntToStr(progress.Max); … … 531 531 Database.StartTransaction; 532 532 end; 533 if ((i mod 25) = 0) and (i >= 100) then534 lbl_estimation.Caption := 'Estimated finishing time: ' + TimeToStr(535 (Time - begintime) / i * progress.Max + begintime);533 if ((i mod 10) = 0) and (i >= 100) then 534 lbl_estimation.Caption := 'Estimated time left: ' + TimeToStr( 535 (Time - begintime) / i * (progress.Max - i + 1) * 1.1 ); 536 536 progress.Position := i; 537 537 lbl_progress.Caption := 'Files done: ' + IntToStr(i) + '/' + IntToStr(progress.Max); -
oup/current/Tools/Template.dfm
r54 r58 17 17 Visible = True 18 18 WindowState = wsMaximized 19 OnActivate = FormActivate 19 20 OnClose = FormClose 20 21 OnCreate = FormCreate -
oup/current/Tools/Template.pas
r54 r58 55 55 procedure filepopupPopup(Sender: TObject); 56 56 procedure btn_sortClick(Sender: TObject); 57 procedure FormActivate(Sender: TObject); 57 58 private 58 59 FSortBy: TSortType; … … 365 366 end; 366 367 368 procedure TForm_ToolTemplate.FormActivate(Sender: TObject); 369 begin 370 edit_filtername.SetFocus; 371 end; 372 367 373 procedure TForm_ToolTemplate.FormClose(Sender: TObject; var Action: TCloseAction); 368 374 begin
Note:
See TracChangeset
for help on using the changeset viewer.