unit1.dfm
来自「delphi的超级好用的表格控件」· DFM 代码 · 共 313 行
DFM
313 行
object Form1: TForm1
Left = 666
Top = 184
Width = 696
Height = 480
Caption = 'AdvGridWorkBook and AdvGridExcelIO demo applications'
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 AdvGridWorkbook1: TAdvGridWorkbook
Left = 0
Top = 0
Width = 688
Height = 406
ActiveSheet = 0
Sheets = <
item
Name = 'Sheet 1'
Tag = 0
end
item
Name = 'Sheet 2'
Tag = 0
end
item
Name = 'Sheet 3'
Tag = 0
end>
TabLook.Font.Charset = DEFAULT_CHARSET
TabLook.Font.Color = clWindowText
TabLook.Font.Height = -11
TabLook.Font.Name = 'MS Sans Serif'
TabLook.Font.Style = []
Align = alClient
TabOrder = 0
object WorkBookGrid1: TAdvStringGrid
Left = 0
Top = 0
Width = 684
Height = 381
Cursor = crDefault
Align = alClient
BorderStyle = bsNone
ColCount = 5
DefaultRowHeight = 21
DefaultDrawing = False
FixedCols = 1
RowCount = 5
FixedRows = 1
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
GridLineWidth = 1
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goDrawFocusSelected, goEditing]
ParentFont = False
ScrollBars = ssBoth
TabOrder = 0
GridLineColor = clSilver
ActiveCellShow = False
ActiveCellFont.Charset = DEFAULT_CHARSET
ActiveCellFont.Color = clWindowText
ActiveCellFont.Height = -11
ActiveCellFont.Name = 'MS Sans Serif'
ActiveCellFont.Style = [fsBold]
ActiveCellColor = clGray
Bands.PrimaryColor = clInfoBk
Bands.PrimaryLength = 1
Bands.SecondaryColor = clWindow
Bands.SecondaryLength = 1
Bands.Print = False
AutoNumAlign = False
AutoSize = False
VAlignment = vtaTop
EnhTextSize = False
EnhRowColMove = True
SizeWithForm = False
Multilinecells = False
DragDropSettings.OleAcceptFiles = True
DragDropSettings.OleAcceptText = True
SortSettings.AutoColumnMerge = False
SortSettings.Column = 0
SortSettings.Show = False
SortSettings.IndexShow = False
SortSettings.IndexColor = clYellow
SortSettings.Full = True
SortSettings.SingleColumn = False
SortSettings.IgnoreBlanks = False
SortSettings.BlankPos = blFirst
SortSettings.AutoFormat = True
SortSettings.Direction = sdAscending
SortSettings.InitSortDirection = sdAscending
SortSettings.FixedCols = False
SortSettings.NormalCellsOnly = False
SortSettings.Row = 0
SortSettings.UndoSort = False
FloatingFooter.Color = clBtnFace
FloatingFooter.Column = 0
FloatingFooter.FooterStyle = fsFixedLastRow
FloatingFooter.Visible = False
ControlLook.Color = clBlack
ControlLook.CheckSize = 15
ControlLook.RadioSize = 10
ControlLook.ControlStyle = csWinXP
ControlLook.DropDownAlwaysVisible = False
ControlLook.FlatButton = False
ControlLook.NoDisabledCheckRadioLook = False
ControlLook.ProgressMarginX = 2
ControlLook.ProgressMarginY = 2
ControlLook.ProgressXP = False
EnableBlink = False
EnableHTML = True
EnableWheel = True
Flat = False
Look = glXP
HintColor = clInfoBk
SelectionColor = 15387318
SelectionTextColor = clBlack
SelectionRectangle = False
SelectionResizer = False
SelectionRTFKeep = False
HintShowCells = False
HintShowLargeText = False
HintShowSizing = False
PrintSettings.FooterSize = 0
PrintSettings.HeaderSize = 0
PrintSettings.Time = ppNone
PrintSettings.Date = ppNone
PrintSettings.DateFormat = 'dd/mm/yyyy'
PrintSettings.PageNr = ppNone
PrintSettings.Title = ppNone
PrintSettings.Font.Charset = DEFAULT_CHARSET
PrintSettings.Font.Color = clWindowText
PrintSettings.Font.Height = -11
PrintSettings.Font.Name = 'MS Sans Serif'
PrintSettings.Font.Style = []
PrintSettings.FixedFont.Charset = DEFAULT_CHARSET
PrintSettings.FixedFont.Color = clWindowText
PrintSettings.FixedFont.Height = -11
PrintSettings.FixedFont.Name = 'MS Sans Serif'
PrintSettings.FixedFont.Style = []
PrintSettings.HeaderFont.Charset = DEFAULT_CHARSET
PrintSettings.HeaderFont.Color = clWindowText
PrintSettings.HeaderFont.Height = -11
PrintSettings.HeaderFont.Name = 'MS Sans Serif'
PrintSettings.HeaderFont.Style = []
PrintSettings.FooterFont.Charset = DEFAULT_CHARSET
PrintSettings.FooterFont.Color = clWindowText
PrintSettings.FooterFont.Height = -11
PrintSettings.FooterFont.Name = 'MS Sans Serif'
PrintSettings.FooterFont.Style = []
PrintSettings.Borders = pbSingle
PrintSettings.BorderStyle = psSolid
PrintSettings.Centered = True
PrintSettings.RepeatFixedRows = False
PrintSettings.RepeatFixedCols = False
PrintSettings.LeftSize = 0
PrintSettings.RightSize = 0
PrintSettings.ColumnSpacing = 0
PrintSettings.RowSpacing = 0
PrintSettings.TitleSpacing = 0
PrintSettings.Orientation = poPortrait
PrintSettings.PageNumberOffset = 0
PrintSettings.MaxPagesOffset = 0
PrintSettings.FixedWidth = 0
PrintSettings.FixedHeight = 0
PrintSettings.UseFixedHeight = False
PrintSettings.UseFixedWidth = False
PrintSettings.FitToPage = fpNever
PrintSettings.PageNumSep = '/'
PrintSettings.NoAutoSize = False
PrintSettings.NoAutoSizeRow = False
PrintSettings.PrintGraphics = False
PrintSettings.UseDisplayFont = True
HTMLSettings.Width = 100
HTMLSettings.XHTML = False
Navigation.AdvanceDirection = adLeftRight
Navigation.InsertPosition = pInsertBefore
Navigation.HomeEndKey = heFirstLastColumn
Navigation.TabToNextAtEnd = False
Navigation.TabAdvanceDirection = adLeftRight
ColumnSize.Location = clRegistry
CellNode.Color = clSilver
CellNode.ExpandOne = False
CellNode.NodeColor = clBlack
CellNode.NodeIndent = 12
CellNode.ShowTree = True
CellNode.TreeColor = clSilver
MaxEditLength = 0
Grouping.HeaderColor = clNone
Grouping.HeaderColorTo = clNone
Grouping.HeaderTextColor = clNone
Grouping.MergeHeader = False
Grouping.MergeSummary = False
Grouping.Summary = False
Grouping.SummaryColor = clNone
Grouping.SummaryColorTo = clNone
Grouping.SummaryTextColor = clNone
IntelliPan = ipVertical
URLColor = clBlue
URLShow = False
URLFull = False
URLEdit = False
ScrollType = ssNormal
ScrollColor = clNone
ScrollWidth = 16
ScrollSynch = False
ScrollProportional = False
ScrollHints = shNone
OemConvert = False
FixedFooters = 0
FixedRightCols = 0
FixedColWidth = 64
FixedRowHeight = 21
FixedFont.Charset = DEFAULT_CHARSET
FixedFont.Color = clWindowText
FixedFont.Height = -11
FixedFont.Name = 'Tahoma'
FixedFont.Style = [fsBold]
FixedAsButtons = False
FloatFormat = '%.2f'
IntegralHeight = False
WordWrap = True
Lookup = False
LookupCaseSensitive = False
LookupHistory = False
BackGround.Top = 0
BackGround.Left = 0
BackGround.Display = bdTile
BackGround.Cells = bcNormal
Filter = <>
end
end
object Panel1: TPanel
Left = 0
Top = 406
Width = 688
Height = 41
Align = alBottom
TabOrder = 1
object Button1: TButton
Left = 16
Top = 8
Width = 75
Height = 25
Caption = 'Import 1'
TabOrder = 0
OnClick = Button1Click
end
object Button2: TButton
Left = 104
Top = 8
Width = 75
Height = 25
Caption = 'Import ALL'
TabOrder = 1
OnClick = Button2Click
end
object Button3: TButton
Left = 192
Top = 8
Width = 75
Height = 25
Caption = 'Export 1'
TabOrder = 2
OnClick = Button3Click
end
object Button4: TButton
Left = 280
Top = 8
Width = 75
Height = 25
Caption = 'Export All'
TabOrder = 3
OnClick = Button4Click
end
object ProgressBar1: TProgressBar
Left = 366
Top = 11
Width = 313
Height = 16
TabOrder = 4
end
end
object xls: TAdvGridExcelIO
AdvGridWorkbook = AdvGridWorkbook1
Options.ImportCellSizes = False
UseUnicode = False
OnProgress = xlsProgress
Left = 80
Top = 128
end
object OpenDialog1: TOpenDialog
DefaultExt = 'xls'
Filter = 'Excel files|*.xls'
Left = 160
Top = 128
end
object SaveDialog1: TSaveDialog
DefaultExt = 'xls'
Filter = 'Excel Files|*.xls'
Left = 120
Top = 128
end
end
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?