unit2.dfm

来自「自己做的一个例子」· DFM 代码 · 共 96 行

DFM
96
字号
object Form2: TForm2
  Left = 196
  Top = 106
  Width = 544
  Height = 348
  Caption = #30452#25509#35775#38382#25968#25454#24211
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  OnClose = FormClose
  OnCreate = FormCreate
  PixelsPerInch = 96
  TextHeight = 13
  object Label1: TLabel
    Left = 32
    Top = 220
    Width = 36
    Height = 13
    Caption = #22995#21517#65306
  end
  object Label2: TLabel
    Left = 256
    Top = 219
    Width = 24
    Height = 13
    Caption = #30005#35805
  end
  object DBGrid1: TDBGrid
    Left = 16
    Top = 8
    Width = 505
    Height = 185
    DataSource = DataSource1
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object BitBtn1: TBitBtn
    Left = 112
    Top = 256
    Width = 75
    Height = 25
    Caption = #22686#21152
    TabOrder = 1
    OnClick = BitBtn1Click
  end
  object DBEdit1: TDBEdit
    Left = 80
    Top = 216
    Width = 121
    Height = 21
    DataField = 'sName'
    DataSource = DataSource1
    TabOrder = 2
  end
  object DBEdit2: TDBEdit
    Left = 296
    Top = 216
    Width = 121
    Height = 21
    DataField = 'sPhone'
    DataSource = DataSource1
    TabOrder = 3
  end
  object BitBtn2: TBitBtn
    Left = 272
    Top = 256
    Width = 75
    Height = 25
    Caption = 'Post'
    TabOrder = 4
    OnClick = BitBtn2Click
  end
  object ADOQuery1: TADOQuery
    Connection = Form1.Conn_Main
    CursorType = ctStatic
    Parameters = <>
    SQL.Strings = (
      'Select * from Employee')
    Left = 176
    Top = 64
  end
  object DataSource1: TDataSource
    DataSet = ADOQuery1
    Left = 248
    Top = 64
  end
end

⌨️ 快捷键说明

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