📄 mainwindow.dfm
字号:
object frm_MainWindow: Tfrm_MainWindow
Left = 339
Top = 201
Width = 678
Height = 429
Caption = 'TmxExport Component Test'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object Panel1: TPanel
Left = 0
Top = 0
Width = 670
Height = 89
Align = alTop
TabOrder = 0
object Label1: TLabel
Left = 8
Top = 8
Width = 474
Height = 13
Caption =
'This demo demonstrates only the TmxStringGrid, but all of my Exp' +
'ort components work the same way'
end
object Label2: TLabel
Left = 8
Top = 24
Width = 488
Height = 26
Caption =
'Of course it is much better to use TmxStringGridExport to export' +
' data from StringGrid, '#13#10'but this example shows you how to use T' +
'mxAnyExport component.'
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlue
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
end
object btn_Export: TButton
Left = 8
Top = 56
Width = 75
Height = 25
Caption = '&Export'
TabOrder = 0
OnClick = btn_ExportClick
end
object btn_Close: TButton
Left = 96
Top = 56
Width = 75
Height = 25
Caption = '&Close'
TabOrder = 1
OnClick = btn_CloseClick
end
end
object StringGrid: TStringGrid
Left = 0
Top = 89
Width = 670
Height = 313
Align = alClient
ColCount = 10
DefaultRowHeight = 15
FixedCols = 0
RowCount = 30
TabOrder = 1
end
object mxAnyExport: TmxAnyExport
DateFormat = 'M/d/yy'
TimeFormat = 'h:mm AMPM'
DateTimeFormat = 'h:mm AMPM M/d/yy'
ExportType = xtExcel
ExportTypes = [xtHTML, xtExcel, xtWord, xtTXT, xtCSV, xtTAB, xtRTF, xtDIF, xtSYLK, xtClipboard]
ExportStyle = xsView
HTML.CustomColors.Background = clWhite
HTML.CustomColors.DefaultLink = clRed
HTML.CustomColors.DefaultFontFace = 'Arial,Helvetica'
HTML.CustomColors.VisitedLink = clAqua
HTML.CustomColors.ActiveLink = clBlue
HTML.CustomColors.DefaultText = clBlack
HTML.CustomColors.TableFontColor = clBlack
HTML.CustomColors.TableFontFace = 'Arial,Helvetica'
HTML.CustomColors.TableBackground = 16777167
HTML.CustomColors.TableOddBackground = clWhite
HTML.CustomColors.HeaderBackground = 3368601
HTML.CustomColors.HeadersFontColor = clWhite
HTML.Options = [hoShowGridLines, hoBoldHeaders, hoAutoLink, hoOddRowColoring, hoDisplayTitle]
HTML.Template = ctStandard
Messages.Caption = 'Exporting...'
Messages.CopiedToClipboard = 'Data was copied to clipboard!'
Messages.CancelCaption = '&Cancel'
Messages.CreatedText = 'Created:'
Messages.DocumentFilter.HTML = 'HTML Documents'
Messages.DocumentFilter.Excel = 'Excel Files'
Messages.DocumentFilter.Word = 'Word Documents'
Messages.DocumentFilter.Text = 'Text Files'
Messages.DocumentFilter.Comma = 'CSV (Comma delimited)'
Messages.DocumentFilter.Tab = 'Text (Tab delimited)'
Messages.DocumentFilter.RTF = 'Rich Text Format'
Messages.DocumentFilter.DIF = 'Data Interchange Format'
Messages.DocumentFilter.SYLK = 'SYLK Files'
Messages.ExportCaption = '&Export'
Messages.ExportToFile = 'Export &to file'
Messages.FalseText = 'False'
Messages.Height = 80
Messages.SaveTitle = 'Save document'
Messages.SelectFormat = 'E&xport formats:'
Messages.Text = 'Processing...'
Messages.TrueText = 'True'
Messages.Width = 300
Messages.ViewOnly = '&View only'
TruncateSymbol = '...'
RowNumberFormat = '%d'
DOC_RTF.Template = rtStandard
DOC_RTF.Options = [roShowGridLines, roOddRowColoring]
DOC_RTF.CustomSettings.TableBackground = 16777167
DOC_RTF.CustomSettings.TableOddBackground = clWhite
DOC_RTF.CustomSettings.HeaderBackground = 3368601
DOC_RTF.CustomSettings.DefaultFont.Charset = DEFAULT_CHARSET
DOC_RTF.CustomSettings.DefaultFont.Color = clWindowText
DOC_RTF.CustomSettings.DefaultFont.Height = -11
DOC_RTF.CustomSettings.DefaultFont.Name = 'MS Sans Serif'
DOC_RTF.CustomSettings.DefaultFont.Style = []
DOC_RTF.CustomSettings.HeaderFont.Charset = DEFAULT_CHARSET
DOC_RTF.CustomSettings.HeaderFont.Color = clWindowText
DOC_RTF.CustomSettings.HeaderFont.Height = -11
DOC_RTF.CustomSettings.HeaderFont.Name = 'MS Sans Serif'
DOC_RTF.CustomSettings.HeaderFont.Style = [fsBold]
DOC_RTF.CustomSettings.TableFont.Charset = DEFAULT_CHARSET
DOC_RTF.CustomSettings.TableFont.Color = clWindowText
DOC_RTF.CustomSettings.TableFont.Height = -11
DOC_RTF.CustomSettings.TableFont.Name = 'MS Sans Serif'
DOC_RTF.CustomSettings.TableFont.Style = []
DOC_RTF.CellWidth = 1400
DOC_RTF.TopMargin = 101
DOC_RTF.BottomMargin = 101
DOC_RTF.LeftMargin = 461
DOC_RTF.RightMargin = 562
EXCEL.Options = []
EXCEL.ColumnWidth = 20
EXCEL.Protected = False
EXCEL.Footer = '&P'
EXCEL.DefaultFont.Charset = ANSI_CHARSET
EXCEL.DefaultFont.Color = clWindowText
EXCEL.DefaultFont.Height = -13
EXCEL.DefaultFont.Name = 'Arial'
EXCEL.DefaultFont.Style = []
EXCEL.HeaderFont.Charset = DEFAULT_CHARSET
EXCEL.HeaderFont.Color = clWindowText
EXCEL.HeaderFont.Height = -11
EXCEL.HeaderFont.Name = 'MS Sans Serif'
EXCEL.HeaderFont.Style = [fsBold]
EXCEL.TableFont.Charset = DEFAULT_CHARSET
EXCEL.TableFont.Color = clWindowText
EXCEL.TableFont.Height = -11
EXCEL.TableFont.Name = 'MS Sans Serif'
EXCEL.TableFont.Style = []
EXCEL.TopMargin = 0.300000000000000000
EXCEL.BottomMargin = 0.300000000000000000
EXCEL.LeftMargin = 0.300000000000000000
EXCEL.RightMargin = 0.300000000000000000
Options = [xoClipboardMessage, xoFooterLine, xoHeaderLine, xoShowExportDate, xoShowHeader, xoShowProgress, xoUseAlignments]
Version = '2.36'
OnGetExportInfo = mxAnyExportGetExportInfo
OnGetFieldLength = mxAnyExportGetFieldLength
OnGetFieldName = mxAnyExportGetFieldName
OnGetExportData = mxAnyExportGetExportData
Left = 184
Top = 56
end
end
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -