Ignore:
Timestamp:
May 30, 2023, 11:31:10 AM (11 months ago)
Author:
chronos
Message:
  • Modified: Removed U prefix from unit names.
File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/Packages/Common/JobProgressView.pas

    r455 r456  
    1 unit UJobProgressView;
     1unit JobProgressView;
    22
    33interface
     
    55uses
    66  SysUtils, Variants, Classes, Graphics, Controls, Forms, Syncobjs,
    7   Dialogs, ComCtrls, StdCtrls, ExtCtrls, Generics.Collections, UThreading, Math,
     7  Dialogs, ComCtrls, StdCtrls, ExtCtrls, Generics.Collections, Threading, Math,
    88  DateUtils;
    99
     
    154154  end;
    155155
    156   //var
    157   //  FormJobProgressView: TFormJobProgressView;
    158 
    159156procedure Register;
    160157
     
    185182  try
    186183    try
    187       //raise Exception.Create('Exception in job');
    188184      ProgressView.CurrentJob.Method(Job);
    189185    except
     
    221217      for I := 0 to ListViewJobs.Items.Count - 1 do
    222218      begin
    223         ItemRect := ListViewJobs.Items[I].DisplayRect(drBounds);
     219        ItemRect := ListViewJobs.Items[i].DisplayRect(drBounds);
    224220        Maxh := Max(Maxh, ItemRect.Top + (ItemRect.Bottom - ItemRect.Top));
    225221      end;
     
    641637begin
    642638  FLock.Free;
    643   inherited Destroy;
     639  inherited;
    644640end;
    645641
Note: See TracChangeset for help on using the changeset viewer.