unit1.dfm

来自「《C++Builder数据库程序设计》配书光盘 1.光盘内容 Read」· DFM 代码 · 共 81 行

DFM
81 行
字号
object Form1: TForm1
  Left = 192
  Top = 107
  Width = 422
  Height = 172
  Caption = 'excel1.bpr'
  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 = 0
    Top = 8
    Width = 409
    Height = 129
    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 = '书名'
        Width = 115
        Visible = True
      end
      item
        Expanded = False
        FieldName = '第一季'
        Width = 47
        Visible = True
      end
      item
        Expanded = False
        FieldName = '第二季'
        Width = 42
        Visible = True
      end
      item
        Expanded = False
        FieldName = '第三季'
        Width = 49
        Visible = True
      end
      item
        Expanded = False
        FieldName = '第四季'
        Width = 48
        Visible = True
      end
      item
        Expanded = False
        FieldName = '合计'
        Visible = True
      end>
  end
  object ADOTable1: TADOTable
    Active = True
    ConnectionString = 
      'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=BOOK.xls;Extended P' +
      'roperties=Excel 8.0;Persist Security Info=False'
    CursorType = ctStatic
    TableName = '书籍销售'
    Left = 80
    Top = 96
  end
  object DataSource1: TDataSource
    DataSet = ADOTable1
    Left = 112
    Top = 104
  end
end

⌨️ 快捷键说明

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