peopleprint.pas

来自「三層源碼,DELPHI寫的三層源碼,三層源碼,」· PAS 代码 · 共 74 行

PAS
74
字号
unit peopleprint;

interface

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

type
  Tpeople_print = class(TForm)
    QuickRep1: TQuickRep;
    PageHeaderBand1: TQRBand;
    PageFooterBand1: TQRBand;
    QRLabel1: TQRLabel;
    QRBand1: TQRBand;
    ColumnHeaderBand1: TQRBand;
    QRLabel20: TQRLabel;
    QRSysData2: TQRSysData;
    QRLabel21: TQRLabel;
    QRSysData1: TQRSysData;
    QRLabel22: TQRLabel;
    QRShape3: TQRShape;
    QRShape4: TQRShape;
    QRShape5: TQRShape;
    QRShape6: TQRShape;
    QRShape9: TQRShape;
    QRLabel7: TQRLabel;
    QRLabel12: TQRLabel;
    QRLabel5: TQRLabel;
    QRLabel4: TQRLabel;
    QRLabel9: TQRLabel;
    QRLabel8: TQRLabel;
    QRLabel3: TQRLabel;
    QRLabel2: TQRLabel;
    QRShape1: TQRShape;
    QRShape2: TQRShape;
    QRShape7: TQRShape;
    QRShape8: TQRShape;
    QRShape10: TQRShape;
    QRExpr6: TQRExpr;
    QRExpr11: TQRExpr;
    QRExpr4: TQRExpr;
    QRExpr3: TQRExpr;
    QRExpr8: TQRExpr;
    QRExpr7: TQRExpr;
    QRExpr2: TQRExpr;
    QRExpr1: TQRExpr;
    procedure QuickRep1StartPage(Sender: TCustomQuickRep);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  people_print: Tpeople_print;

implementation
uses sldata,shareunit;
{$R *.DFM}

procedure Tpeople_print.QuickRep1StartPage(Sender: TCustomQuickRep);
begin
qrlabel21.Caption:='/'+pagecounts;
end;

procedure Tpeople_print.FormCreate(Sender: TObject);
begin
qrlabel1.caption:=company_name+'员工档案总表';
end;

end.

⌨️ 快捷键说明

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