htreport.pas

来自「一个仓库管理中的子系统--采购子系统」· PAS 代码 · 共 76 行

PAS
76
字号
unit htReport;

interface

uses
  Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
  Qrctrls, QuickRpt, ExtCtrls;

type
  ThtReportForm = class(TForm)
    QuickRep1: TQuickRep;
    QRBand1: TQRBand;
    QRBand3: TQRBand;
    QRBand4: TQRBand;
    QRBand5: TQRBand;
    QRLabel1: TQRLabel;
    QRLabel2: TQRLabel;
    QRLabel3: TQRLabel;
    QRLabel4: TQRLabel;
    QRLabel5: TQRLabel;
    QRLabel6: TQRLabel;
    QRLabel7: TQRLabel;
    QRShape1: TQRShape;
    QRShape2: TQRShape;
    QRShape3: TQRShape;
    QRShape4: TQRShape;
    QRShape5: TQRShape;
    QRShape6: TQRShape;
    QRShape7: TQRShape;
    QRShape8: TQRShape;
    QRShape9: TQRShape;
    QRShape10: TQRShape;
    QRShape11: TQRShape;
    QRShape12: TQRShape;
    QRShape13: TQRShape;
    QRShape14: TQRShape;
    QRShape15: TQRShape;
    QRShape16: TQRShape;
    QRShape17: TQRShape;
    jfmcQR: TQRDBText;
    yfmcQR: TQRDBText;
    hthQR: TQRDBText;
    jhjeQR: TQRDBText;
    jhyQR: TQRDBText;
    qzsjQR: TQRDBText;
    QRLabel8: TQRLabel;
    QRSysData1: TQRSysData;
    QRLabel9: TQRLabel;
    QRSysData2: TQRSysData;
    QRShape18: TQRShape;
    QRShape19: TQRShape;
    QRLabel10: TQRLabel;
    htnrQR: TQRDBText;
    procedure jhjeQRPrint(sender: TObject; var Value: String);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  htReportForm: ThtReportForm;

implementation

uses Datamodule;

{$R *.DFM}

procedure ThtReportForm.jhjeQRPrint(sender: TObject; var Value: String);
begin
    value:=Format('%.2f',[strtofloat(value)]);
end;

end.

⌨️ 快捷键说明

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