savexls.dfm
来自「纯的将数据直接存为Excel格式」· DFM 代码 · 共 66 行
DFM
66 行
object Form2: TForm2
Left = 175
Top = 100
Width = 476
Height = 411
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 = 0
Top = 0
Width = 468
Height = 343
Align = alClient
DataSource = DataSource1
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'MS Sans Serif'
TitleFont.Style = []
end
object Panel1: TPanel
Left = 0
Top = 343
Width = 468
Height = 41
Align = alBottom
BevelOuter = bvNone
TabOrder = 1
object Button1: TButton
Left = 224
Top = 8
Width = 83
Height = 25
Caption = 'SaveToXLS'
TabOrder = 0
OnClick = Button1Click
end
end
object DataSource1: TDataSource
DataSet = Table1
Left = 72
Top = 104
end
object Table1: TTable
Active = True
DatabaseName = 'DBDEMOS'
TableName = 'parts.db'
Left = 112
Top = 112
end
object SaveDialog1: TSaveDialog
DefaultExt = 'xls'
Left = 160
Top = 128
end
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?