home *** CD-ROM | disk | FTP | other *** search
/ Hot Shareware 32 / hot34.iso / ficheros / 9ZIP / TSUZDLL.ZIP / EXAM3 / PGSIND.PAS < prev    next >
Pascal/Delphi Source File  |  1998-03-31  |  818b  |  47 lines

  1. unit PgsInd;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls, ComCtrls, Buttons;
  8.  
  9. type
  10.   TFPgsInd = class(TForm)
  11.     PgsBar: TProgressBar;
  12.     stpf: TStaticText;
  13.     stselfiles: TStaticText;
  14.     stpb: TStaticText;
  15.     stselbytes: TStaticText;
  16.     stprocfiles: TStaticText;
  17.     stprocbytes: TStaticText;
  18.     PgsBtn: TBitBtn;
  19.     procedure PgsBtnClick(Sender: TObject);
  20.   private
  21.     { Private declarations }
  22.   public
  23.     { Public declarations }
  24.   end;
  25.  
  26. function zCancelOperation : boolean; stdcall;
  27.  
  28.  
  29. var
  30.   FPgsInd: TFPgsInd;
  31.  
  32. implementation
  33.  
  34. {$R *.DFM}
  35.  
  36. function zCancelOperation;external  'tsuz.dll' name 'zCancelOperation';
  37.  
  38.  
  39.  
  40.  
  41. procedure TFPgsInd.PgsBtnClick(Sender: TObject);
  42. begin
  43.   zCancelOperation;
  44. end;
  45.  
  46. end.
  47.