📄 htreport.pas
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -