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

📄 embeddedtablesmain.dfm

📁 一个后成PDF文件的控件
💻 DFM
字号:
object MainForm: TMainForm
  Left = 192
  Top = 150
  ActiveControl = InvoiceNumber
  BorderStyle = bsDialog
  Caption = 'EMS QuickPDF Embedded Tables Demo'
  ClientHeight = 360
  ClientWidth = 676
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Panel1: TPanel
    Left = 0
    Top = 0
    Width = 676
    Height = 360
    Align = alClient
    TabOrder = 0
    object Label1: TLabel
      Left = 17
      Top = 14
      Width = 55
      Height = 13
      Caption = 'Invoice No.'
    end
    object Label2: TLabel
      Left = 17
      Top = 40
      Width = 28
      Height = 13
      Caption = 'Name'
    end
    object Label3: TLabel
      Left = 17
      Top = 65
      Width = 47
      Height = 13
      Caption = 'Address 1'
    end
    object Label4: TLabel
      Left = 17
      Top = 91
      Width = 47
      Height = 13
      Caption = 'Address 2'
    end
    object Label6: TLabel
      Left = 500
      Top = 65
      Width = 31
      Height = 13
      Caption = 'Phone'
    end
    object Label7: TLabel
      Left = 514
      Top = 91
      Width = 17
      Height = 13
      Caption = 'Fax'
    end
    object Label8: TLabel
      Left = 503
      Top = 40
      Width = 28
      Height = 13
      Caption = 'E-mail'
    end
    object Button: TButton
      Left = 277
      Top = 326
      Width = 123
      Height = 25
      Caption = 'Generate Invoice'
      Default = True
      TabOrder = 8
      OnClick = GenerateInvoice
    end
    object InvoiceNumber: TEdit
      Left = 79
      Top = 10
      Width = 60
      Height = 21
      TabOrder = 0
      Text = '1'
    end
    object Name: TEdit
      Left = 79
      Top = 36
      Width = 411
      Height = 21
      TabOrder = 1
      Text = 'John Doe'
    end
    object Address1: TEdit
      Left = 79
      Top = 61
      Width = 411
      Height = 21
      TabOrder = 2
      Text = '123 Main St'
    end
    object Address2: TEdit
      Left = 79
      Top = 87
      Width = 411
      Height = 21
      TabOrder = 3
      Text = 'Washington, USA'
    end
    object Phone: TEdit
      Left = 538
      Top = 61
      Width = 120
      Height = 21
      TabOrder = 5
      Text = '+1 (206) 123-4567'
    end
    object Email: TEdit
      Left = 538
      Top = 36
      Width = 120
      Height = 21
      TabOrder = 4
      Text = 'john@yahoo.com'
    end
    object Fax: TEdit
      Left = 538
      Top = 87
      Width = 120
      Height = 21
      TabOrder = 6
      Text = '+1 (206) 123-4567'
    end
    object ItemsGroupBox: TGroupBox
      Left = 17
      Top = 114
      Width = 641
      Height = 204
      Caption = ' Items '
      TabOrder = 7
      object ItemsListView: TListView
        Left = 8
        Top = 16
        Width = 625
        Height = 179
        Columns = <
          item
            AutoSize = True
            Caption = 'Name'
          end
          item
            Alignment = taRightJustify
            Caption = 'Price, USD'
            Width = 80
          end
          item
            Alignment = taRightJustify
            Caption = 'Price, EURO'
            Width = 80
          end>
        TabOrder = 0
        ViewStyle = vsReport
        OnCustomDrawItem = ItemsListViewCustomDrawItem
        OnCustomDrawSubItem = ItemsListViewCustomDrawSubItem
      end
    end
  end
  object QuickPdf1: TQuickPdf
    FileName = 'c:\test.pdf'
    PageInfo.Size = psA4
    PageInfo.Width = 210
    PageInfo.Height = 297
    PageInfo.MarginLeft = 5
    PageInfo.MarginRight = 5
    PageInfo.MarginTop = 5
    PageInfo.MarginBottom = 5
    Left = 32
    Top = 272
  end
  object DataSource1: TDataSource
    DataSet = Table1
    Left = 60
    Top = 272
  end
  object Table1: TTable
    TableName = 'Items'
    Left = 88
    Top = 272
  end
  object SaveDialog1: TSaveDialog
    DefaultExt = '*.pdf'
    FileName = 'QuickPDF Tables Demo'
    Filter = 'PDF Documents|*.pdf|All Files|*.*'
    Left = 115
    Top = 272
  end
end

⌨️ 快捷键说明

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