unit1.~dfm

来自「一系列DELPHI的控件如何使用的例子,例子有的比较简单,但是能详细的说明了控件」· ~DFM 代码 · 共 79 行

~DFM
79
字号
object Form1: TForm1
  Left = 232
  Top = 142
  Width = 588
  Height = 419
  Caption = #20351#29992'QUERY'#25511#20214#21024#38500#25968#25454#24211#35760#24405
  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 Panel1: TPanel
    Left = 0
    Top = 0
    Width = 580
    Height = 41
    Align = alTop
    Caption = #20351#29992'QUERY'#25511#20214#21024#38500#25968#25454#24211#35760#24405
    TabOrder = 0
  end
  object Panel2: TPanel
    Left = 0
    Top = 360
    Width = 580
    Height = 32
    Align = alBottom
    Caption = #21452#20987#25152#35201#21024#38500#30340#35760#24405#24182#30830#23450
    TabOrder = 1
  end
  object Panel3: TPanel
    Left = 0
    Top = 41
    Width = 580
    Height = 319
    Align = alClient
    Caption = 'Panel3'
    TabOrder = 2
    object DBGrid1: TDBGrid
      Left = 1
      Top = 1
      Width = 578
      Height = 317
      Align = alClient
      DataSource = DataSource1
      ImeName = #20013#25991' ('#31616#20307') - '#26234#33021' ABC'
      Options = [dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgRowSelect, dgConfirmDelete, dgCancelOnExit]
      TabOrder = 0
      TitleFont.Charset = DEFAULT_CHARSET
      TitleFont.Color = clWindowText
      TitleFont.Height = -11
      TitleFont.Name = 'MS Sans Serif'
      TitleFont.Style = []
      OnDblClick = DBGrid1DblClick
    end
  end
  object DataSource1: TDataSource
    DataSet = Query1
    Left = 16
    Top = 8
  end
  object Query1: TQuery
    Active = True
    DatabaseName = 'DBDEMOS'
    SQL.Strings = (
      'select * from country')
    Left = 56
    Top = 8
  end
  object Query2: TQuery
    DatabaseName = 'DBDEMOS'
    Left = 96
    Top = 8
  end
end

⌨️ 快捷键说明

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