demo7.dfm

来自「《Delphi实用程序100例》配套书源码盘」· DFM 代码 · 共 58 行

DFM
58
字号
object Form1: TForm1
  Left = 192
  Top = 107
  Width = 594
  Height = 465
  Caption = 'delphi'#24425#33394'DBGrid'#25511#20214#21644#22810#34920#21516#27493#26174#31034
  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 = 561
    Height = 176
    DataSource = DataSource1
    TabOrder = 0
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
    OnDrawDataCell = DBGrid1DrawDataCell
    OnDrawColumnCell = DBGrid1DrawColumnCell
  end
  object DBGrid2: TDBGrid
    Left = 8
    Top = 248
    Width = 561
    Height = 184
    DataSource = DataSource1
    TabOrder = 1
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object Query1: TQuery
    Active = True
    DatabaseName = 'DBDEMOS'
    SQL.Strings = (
      'select * from biolife')
    Left = 496
    Top = 96
  end
  object DataSource1: TDataSource
    DataSet = Query1
    Left = 496
    Top = 152
  end
end

⌨️ 快捷键说明

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