customer.dfm

来自「完整的delphi书籍源代码,大家有空的时候自己慢慢看看」· DFM 代码 · 共 239 行

DFM
239
字号
object CustomerFrm: TCustomerFrm
  Left = 187
  Top = 220
  Width = 567
  Height = 435
  Caption = #23458#25143#36164#26009
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  PixelsPerInch = 96
  TextHeight = 13
  object GroupBox1: TGroupBox
    Left = 23
    Top = 24
    Width = 513
    Height = 137
    Caption = #23458#25143#20449#24687
    TabOrder = 0
    object Label1: TLabel
      Left = 16
      Top = 32
      Width = 54
      Height = 13
      Caption = #23458#25143#21517#31216'  '
    end
    object Label2: TLabel
      Left = 176
      Top = 32
      Width = 60
      Height = 13
      Caption = #32852#31995#20154#22995#21517
    end
    object Label3: TLabel
      Left = 344
      Top = 32
      Width = 48
      Height = 13
      Caption = #32852#31995#30005#35805
    end
    object Label4: TLabel
      Left = 16
      Top = 64
      Width = 48
      Height = 13
      Caption = #21333#20301#22320#22336
    end
    object Label5: TLabel
      Left = 16
      Top = 96
      Width = 48
      Height = 13
      Caption = #37038#25919#32534#30721
    end
    object Label6: TLabel
      Left = 176
      Top = 96
      Width = 57
      Height = 13
      Caption = #20256' '#30495' '#21495' '#30721
    end
    object Label7: TLabel
      Left = 344
      Top = 72
      Width = 48
      Height = 13
      Caption = #22791#27880#20449#24687
    end
    object DBEdit1: TDBEdit
      Left = 72
      Top = 24
      Width = 97
      Height = 21
      DataField = 'CustomerName'
      DataSource = DataSource1
      TabOrder = 0
    end
    object DBEdit2: TDBEdit
      Left = 240
      Top = 24
      Width = 97
      Height = 21
      DataField = 'LinkMan'
      DataSource = DataSource1
      TabOrder = 1
    end
    object DBEdit3: TDBEdit
      Left = 400
      Top = 24
      Width = 97
      Height = 21
      DataField = 'Tel'
      DataSource = DataSource1
      TabOrder = 2
    end
    object DBEdit4: TDBEdit
      Left = 72
      Top = 56
      Width = 265
      Height = 21
      DataField = 'Address'
      DataSource = DataSource1
      TabOrder = 3
    end
    object DBEdit5: TDBEdit
      Left = 72
      Top = 88
      Width = 97
      Height = 21
      DataField = 'Zipcode'
      DataSource = DataSource1
      TabOrder = 4
    end
    object DBEdit6: TDBEdit
      Left = 240
      Top = 88
      Width = 97
      Height = 21
      DataField = 'Fax'
      DataSource = DataSource1
      TabOrder = 5
    end
    object DBMemo1: TDBMemo
      Left = 400
      Top = 56
      Width = 97
      Height = 65
      DataField = 'CustomerRemark'
      DataSource = DataSource1
      TabOrder = 6
    end
  end
  object GroupBox2: TGroupBox
    Left = 24
    Top = 203
    Width = 513
    Height = 193
    Caption = #23458#25143#21015#34920
    TabOrder = 1
    object DBGrid1: TDBGrid
      Left = 24
      Top = 24
      Width = 457
      Height = 153
      DataSource = DataSource1
      TabOrder = 0
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'MS Sans Serif'
      TitleFont.Style = []
      Columns = <
        item
          Expanded = False
          FieldName = 'CustomerName'
          Title.Alignment = taCenter
          Title.Caption = #23458#25143#21517#31216
          Width = 119
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'LinkMan'
          Title.Alignment = taCenter
          Title.Caption = #32852#31995#20154#22995#21517
          Width = 66
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Tel'
          Title.Alignment = taCenter
          Title.Caption = #32852#31995#30005#35805
          Width = 89
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Address'
          Title.Alignment = taCenter
          Title.Caption = #21333#20301#22320#22336
          Width = 113
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Zipcode'
          Title.Alignment = taCenter
          Title.Caption = #37038#25919#32534#30721
          Width = 71
          Visible = True
        end
        item
          Expanded = False
          FieldName = 'Fax'
          Title.Alignment = taCenter
          Title.Caption = #20256#30495#21495#30721
          Width = 95
          Visible = True
        end>
    end
  end
  object DBNavigator1: TDBNavigator
    Left = 40
    Top = 168
    Width = 344
    Height = 25
    DataSource = DataSource1
    VisibleButtons = [nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbPost, nbCancel]
    TabOrder = 2
  end
  object Button1: TButton
    Left = 424
    Top = 168
    Width = 75
    Height = 25
    Caption = #36820'      '#22238
    TabOrder = 3
    OnClick = Button1Click
  end
  object DataSource1: TDataSource
    DataSet = ADOTable1
    Left = 168
    Top = 8
  end
  object ADOTable1: TADOTable
    Active = True
    Connection = LoginFrm.ADOConnection1
    CursorType = ctStatic
    TableName = 'Customer'
    Left = 208
    Top = 8
  end
end

⌨️ 快捷键说明

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