unit1.~dfm

来自「使用delphi快速打开Excel文件并可选择工作表」· ~DFM 代码 · 共 86 行

~DFM
86
字号
object Form1: TForm1
  Left = 192
  Top = 125
  Width = 843
  Height = 551
  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 Button3: TButton
    Left = 176
    Top = 16
    Width = 75
    Height = 25
    Caption = #20851#38381
    TabOrder = 0
    OnClick = Button3Click
  end
  object stat1: TStatusBar
    Left = 0
    Top = 498
    Width = 835
    Height = 19
    Panels = <>
  end
  object Button6: TButton
    Left = 216
    Top = 192
    Width = 105
    Height = 33
    Caption = #36873#25321'Excel'#25991#20214
    TabOrder = 2
    OnClick = Button6Click
  end
  object DBGrid1: TDBGrid
    Left = 16
    Top = 64
    Width = 569
    Height = 121
    DataSource = ds2
    TabOrder = 3
    TitleFont.Charset = DEFAULT_CHARSET
    TitleFont.Color = clWindowText
    TitleFont.Height = -11
    TitleFont.Name = 'MS Sans Serif'
    TitleFont.Style = []
  end
  object ComboBox2: TComboBox
    Left = 16
    Top = 192
    Width = 145
    Height = 21
    ItemHeight = 13
    TabOrder = 4
    OnChange = ComboBox2Change
  end
  object dlgOpen1: TOpenDialog
    Filter = '*.xls|*.xls'
    Left = 184
    Top = 192
  end
  object ds2: TDataSource
    DataSet = ds1
    Left = 80
    Top = 16
  end
  object ds1: TADODataSet
    Connection = con1
    CursorType = ctStatic
    Parameters = <>
    Left = 48
    Top = 16
  end
  object con1: TADOConnection
    LoginPrompt = False
    Left = 16
    Top = 16
  end
end

⌨️ 快捷键说明

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