📄 xfmxprin.pas
字号:
unit xfmxprin;
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, Forms, Dialogs,
QuickRpt, Qrctrls, ExtCtrls, DBTables, Db;
type
Tdhftjprinform = class(TForm)
qr1: TQuickRep;
QRSubDetail3: TQRSubDetail;
QRDBText27: TQRDBText;
QRDBText28: TQRDBText;
QRDBText30: TQRDBText;
QRDBText31: TQRDBText;
QRDBText32: TQRDBText;
QRDBText34: TQRDBText;
QRDBText36: TQRDBText;
QRShape18: TQRShape;
QRShape20: TQRShape;
QRShape21: TQRShape;
QRShape22: TQRShape;
QRShape23: TQRShape;
QRShape24: TQRShape;
QRShape25: TQRShape;
QRDBText10: TQRDBText;
QRShape39: TQRShape;
QRDBText1: TQRDBText;
QRBand1: TQRBand;
QRLabel1: TQRLabel;
QRLabel12: TQRLabel;
QRLabel13: TQRLabel;
QRLabel14: TQRLabel;
QRSysData1: TQRSysData;
QRLabel2: TQRLabel;
QRShape1: TQRShape;
QRShape2: TQRShape;
QRShape3: TQRShape;
QRShape4: TQRShape;
QRShape5: TQRShape;
QRShape7: TQRShape;
QRLabel3: TQRLabel;
QRLabel4: TQRLabel;
QRLabel5: TQRLabel;
QRLabel6: TQRLabel;
QRLabel7: TQRLabel;
QRLabel8: TQRLabel;
QRShape38: TQRShape;
QRLabel24: TQRLabel;
QRShape6: TQRShape;
QRLabel9: TQRLabel;
QRShape8: TQRShape;
QRShape9: TQRShape;
QRShape10: TQRShape;
QRShape14: TQRShape;
QRShape15: TQRShape;
QRLabel10: TQRLabel;
QRImage1: TQRImage;
procedure FormCreate(Sender: TObject);
private
{ Private declarations }
public
{ Public declarations }
end;
var
dhftjprinform: Tdhftjprinform;
implementation
uses dataproc, dhftj;
{$R *.DFM}
procedure Tdhftjprinform.FormCreate(Sender: TObject);
begin
QRLabel1.Caption:=dhftjForm.Panel4.Caption;
// QRLabel1.Font:=dhftjForm.Panel4.Font;
QRLabel1.Left:=strtoint(floattostr(int((QRBand1.Width-QRLabel1.Width)/2)));
QRLabel12.Caption:=datetostr(dhftjform.begdate.Date)+' '+timetostr(dhftjform.begtime.time)+' 至 '+datetostr(dhftjform.enddate.Date)+' '+timetostr(dhftjform.endtime.time);
QRLabel12.Caption:=QRLabel12.Caption+' '+dhftjform.mxname.Tabs[dhftjform.mxname.tabindex];
QRLabel12.Caption:=QRLabel12.Caption+' 统计';
QRLabel10.Caption:='已结帐合计: '+dhftjform.yjzhj.Caption+' 未结帐合计: '+dhftjform.wjzhj.Caption+' 总合计: '+dhftjform.hj.Caption;
// QRSubDetail1.Print;
//QuickRep1.
// qr1.preview;
//srrbForm.Query1
end;
end.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -