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

📄 umarkrep.~pas

📁 针对商品与仓库存储商品等信息的管理及维护的管理软件。它能够辅助仓库管理人员对供应商信息、商品基本信息以及商品入库、出库、库存信息查询等进行控制管理
💻 ~PAS
字号:
unit UMarkrep;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, StdCtrls, ExtCtrls, Spin, Buttons, QuickRpt, QRCtrls,printers;

type
  Trepmark = class(TForm)
    panel1: TPanel;
    Label1: TLabel;
    SpeedButton1: TSpeedButton;
    SpeedButton2: TSpeedButton;
    SpeedButton3: TSpeedButton;
    SpeedButton4: TSpeedButton;
    SpeedButton5: TSpeedButton;
    Edit1: TEdit;
    GroupBox1: TGroupBox;
    Label2: TLabel;
    Label3: TLabel;
    Label4: TLabel;
    Label5: TLabel;
    Spin1: TSpinEdit;
    Spin2: TSpinEdit;
    Spin3: TSpinEdit;
    Spin4: TSpinEdit;
    RadioGroup1: TRadioGroup;
    RadioButton1: TRadioButton;
    RadioButton2: TRadioButton;
    Rep1: TQuickRep;
    DetailBand1: TQRBand;
    TitleBand1: TQRBand;
    QRLabel1: TQRLabel;
    ColumnHeaderBand1: TQRBand;
    QRLabel2: TQRLabel;
    QRLabel3: TQRLabel;
    QRLabel4: TQRLabel;
    QRLabel5: TQRLabel;
    QRLabel6: TQRLabel;
    QRLabel7: TQRLabel;
    QRLabel8: TQRLabel;
    QRText1: TQRDBText;
    QRDBText1: TQRDBText;
    QRDBText2: TQRDBText;
    QRDBText3: TQRDBText;
    QRDBText4: TQRDBText;
    QRDBText5: TQRDBText;
    QRDBText6: TQRDBText;
    PageFooterBand1: TQRBand;
    procedure SpeedButton4Click(Sender: TObject);
    procedure SpeedButton3Click(Sender: TObject);
    procedure SpeedButton1Click(Sender: TObject);
    procedure SpeedButton2Click(Sender: TObject);
    procedure FormCreate(Sender: TObject);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  repmark: Trepmark;

implementation
uses MainD,UTIL;
{$R *.dfm}

procedure Trepmark.SpeedButton4Click(Sender: TObject);
begin
QRLabel1.Caption := edit1.Text;
rep1.Page.TopMargin    := spin1.Value;
rep1.Page.BottomMargin := spin2.Value;
rep1.Page.LeftMargin   := spin3.Value;
rep1.Page.RightMargin  := spin4.Value;
if radiobutton1.Checked then
rep1.Page.Orientation  :=poPortrait;
if radiobutton2.Checked then
rep1.Page.Orientation  := poLandscape;

end;

procedure Trepmark.SpeedButton3Click(Sender: TObject);
begin
close;
end;

procedure Trepmark.SpeedButton1Click(Sender: TObject);
begin
if MaindFrm.CheckPermission(UserID,'mark006')=False then exit;
rep1.Preview;
end;

procedure Trepmark.SpeedButton2Click(Sender: TObject);
begin
if MaindFrm.CheckPermission(UserID,'mark005')=False then exit;
rep1.Print;
end;

procedure Trepmark.FormCreate(Sender: TObject);
begin
QRText1.DataField   := 'bID';
QRDBText1.DataField := 'bName';
QRDBText2.DataField := 'cClass';
QRDBText3.DataField := 'cName';
QRDBText4.DataField := 'Mark';
QRDBText5.DataField := 'Term';
QRDBText6.DataField := 'cStyle';
end;

end.

⌨️ 快捷键说明

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