home *** CD-ROM | disk | FTP | other *** search
/ Hot Shareware 32 / hot34.iso / ficheros / 9ZIP / TSUZDLL.ZIP / EXAM3 / REPORT.PAS < prev   
Pascal/Delphi Source File  |  1998-01-13  |  697b  |  40 lines

  1. unit Report;
  2.  
  3. interface
  4.  
  5. uses
  6.   Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  7.   StdCtrls, ComCtrls;
  8.  
  9. type
  10.   TFreport = class(TForm)
  11.     Button1: TButton;
  12.     Button2: TButton;
  13.     RichEdit1: TRichEdit;
  14.     procedure Button1Click(Sender: TObject);
  15.     procedure Button2Click(Sender: TObject);
  16.   private
  17.     { Private declarations }
  18.   public
  19.     { Public declarations }
  20.   end;
  21.  
  22. var
  23.   Freport: TFreport;
  24.  
  25. implementation
  26.  
  27. {$R *.DFM}
  28.  
  29. procedure TFreport.Button1Click(Sender: TObject);
  30. begin
  31.   Close;
  32. end;
  33.  
  34. procedure TFreport.Button2Click(Sender: TObject);
  35. begin
  36.   RichEdit1.Print('Fast Unzip report ' + DateTimeToStr(Now));
  37. end;
  38.  
  39. end.
  40.