Am_Kwgl_Ps.pas
上传用户:szruida
上传日期:2007-06-01
资源大小:6518k
文件大小:1k
源码类别:

Delphi控件源码

开发平台:

Delphi

  1. unit Am_Kwgl_Ps;
  2. interface
  3. uses
  4.   Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  5.   Dialogs, DB, DBClient, QRCtrls, QuickRpt, ExtCtrls;
  6. type
  7.   TAm_Kwgl_p = class(TForm)
  8.     QuickRep1: TQuickRep;
  9.     DetailBand1: TQRBand;
  10.     QRShape1: TQRShape;
  11.     QRShape2: TQRShape;
  12.     QRShape4: TQRShape;
  13.     QRShape5: TQRShape;
  14.     QRLabel3: TQRLabel;
  15.     QRLabel4: TQRLabel;
  16.     QRLabel5: TQRLabel;
  17.     QRLabel6: TQRLabel;
  18.     QRDBText1: TQRDBText;
  19.     QRDBText2: TQRDBText;
  20.     QRDBText5: TQRDBText;
  21.     QRDBText6: TQRDBText;
  22.     TitleBand1: TQRBand;
  23.     QRLabel1: TQRLabel;
  24.     QRSysData1: TQRSysData;
  25.     QRLabel2: TQRLabel;
  26.     QRShape3: TQRShape;
  27.     QRShape7: TQRShape;
  28.     QRShape8: TQRShape;
  29.     QRShape10: TQRShape;
  30.     QRShape11: TQRShape;
  31.     QRLabel7: TQRLabel;
  32.     QRDBText3: TQRDBText;
  33.     QRLabel8: TQRLabel;
  34.     QRDBText4: TQRDBText;
  35.     procedure FormClose(Sender: TObject; var Action: TCloseAction);
  36.     procedure QuickRep1AfterPreview(Sender: TObject);
  37.   private
  38.     { Private declarations }
  39.   public
  40.     { Public declarations }
  41.   end;
  42. var
  43.   Am_Kwgl_p: TAm_Kwgl_p;
  44. implementation
  45. {$R *.dfm}
  46. procedure TAm_Kwgl_p.FormClose(Sender: TObject; var Action: TCloseAction);
  47. begin
  48.  action:=cafree;
  49. end;
  50. procedure TAm_Kwgl_p.QuickRep1AfterPreview(Sender: TObject);
  51. begin
  52.  close;
  53. end;
  54. end.