⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 xs_pdingdan.pas

📁 相关的销售服务管理行业的一个软件
💻 PAS
字号:
unit XS_PDingDan;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  QuickRpt, ExtCtrls, jpeg,QRCTRLS, Db, ADODB;

type
  Tmainreport = class(TForm)
    QuickRep1: TQuickRep;
    PageHeaderBand1: TQRBand;
    QRLabel1: TQRLabel;
    QRShape1: TQRShape;
    QRLabel5: TQRLabel;
    QRLabel6: TQRLabel;
    QRLabel13: TQRLabel;
    QRLabel35: TQRLabel;
    QRLDDRQ: TQRLabel;
    QRLDDBM: TQRLabel;
    TitleBand1: TQRBand;
    QRShape3: TQRShape;
    QRS_vLine: TQRShape;
    QRS_vLine1: TQRShape;
    QRShape24: TQRShape;
    QRB_detail: TQRBand;
    QRShape11: TQRShape;
    QRShape12: TQRShape;
    QRShape26: TQRShape;
    QRShape27: TQRShape;
    QRS_vLine2: TQRShape;
    XSKS: TQRDBText;
    XSSL: TQRDBText;
    XSLRR: TQRDBText;
    ComRepOrder: TQRCompositeReport;
    QRLabel7: TQRLabel;
    QRLabel8: TQRLabel;
    QRLabel9: TQRLabel;
    QRLabel2: TQRLabel;
    QRLabel3: TQRLabel;
    QRLabel4: TQRLabel;
    QRShape16: TQRShape;
    QRShape17: TQRShape;
    QRL_total: TQRLabel;
    QRLabel10: TQRLabel;
    QRShape2: TQRShape;
    QRShape25: TQRShape;
    XSZZ: TQRDBText;
    XSML: TQRDBText;
    XSXT: TQRDBText;
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
    procedure FormDestroy(Sender: TObject);
    procedure ComRepOrderAddReports(Sender: TObject);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

  function LeftOrientation(const parLeft,parRight,parWidth: integer): integer;
var
  mainreport: Tmainreport;

implementation

uses U_DM, js_cailiao, Uorder;

{$R *.DFM}
function LeftOrientation(const parLeft,parRight,parWidth: integer): integer;
begin
  Result := parLeft+(parRight-parLeft-parWidth)div 2;
end;


procedure Tmainreport.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  Action := caFree;
end;

procedure Tmainreport.FormDestroy(Sender: TObject);
begin
//  mainreport := nil;
end;

procedure Tmainreport.ComRepOrderAddReports(Sender: TObject);
begin
  ComRepOrder.Reports.Add(QuickRep1);
  ComRepOrder.Reports.Add(clreport.QuickRep1);
end;

procedure Tmainreport.FormCreate(Sender: TObject);
begin
 // QuickRep1.Prepare;
 // QRLabel26.Caption := IntToStr(QuickRep1.QRPrinter.PageCount);
  //QuickRep1.QRPrinter.Free;
 // QuickRep1.QRPrinter := nil;
end;

end.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -