unit1.dfm

来自「数据库文件的使用」· DFM 代码 · 共 79 行

DFM
79
字号
object Form1: TForm1
  Left = 578
  Top = 85
  Width = 420
  Height = 434
  Caption = 'Form1'
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'MS Sans Serif'
  Font.Style = []
  OldCreateOrder = False
  PixelsPerInch = 96
  TextHeight = 13
  object DBGrid1: TDBGrid
    Left = 8
    Top = 48
    Width = 395
    Height = 164
    DataSource = DataSource1
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object DBNavigator1: TDBNavigator
    Left = 88
    Top = 216
    Width = 240
    Height = 33
    DataSource = DataSource1
    TabOrder = 1
  end
  object Memo1: TMemo
    Left = 9
    Top = 264
    Width = 394
    Height = 120
    TabOrder = 2
  end
  object Button1: TButton
    Left = 185
    Top = 9
    Width = 75
    Height = 25
    Caption = 'Button1'
    TabOrder = 3
    OnClick = Button1Click
  end
  object tbl1: TADOTable
    Connection = ADOConnection1
    CursorType = ctStatic
    LockType = ltReadOnly
    TableDirect = True
    TableName = 'users'
    Left = 64
    Top = 8
  end
  object DataSource1: TDataSource
    DataSet = tbl1
    Left = 24
    Top = 8
  end
  object ADOConnection1: TADOConnection
    Connected = True
    ConnectionString = 
      'Provider=MSDASQL.1;Password=235465620;Persist Security Info=True' +
      ';User ID=root;Data Source=test1;Initial Catalog=test'
    ConnectionTimeout = 60
    DefaultDatabase = 'test'
    LoginPrompt = False
    Left = 103
    Top = 8
  end
end

⌨️ 快捷键说明

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