📄 exportdemou.dfm
字号:
object ExportForm: TExportForm
Left = 208
Top = 141
Width = 592
Height = 459
Caption = 'ExportForm'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
OldCreateOrder = False
Position = poScreenCenter
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object wwDBGrid1: TwwDBGrid
Left = 0
Top = 201
Width = 584
Height = 231
ControlType.Strings = (
'RichEdit;RichEdit;;F'
'Logical;CheckBox;True;False'
'Company Name;URL-Link;Company Name'
'Payment Method;CustomEdit;wwRadioGroup2;F')
Selected.Strings = (
'Customer No'#9'7'#9'Customer~No'#9'F'
'First'#9'7'#9'First'#9'F'#9'Customer Name'
'Last'#9'7'#9'Last'#9'F'#9'Customer Name'
'Invoice No'#9'6'#9'Invoice~No'#9'F'
'Payment Method'#9'25'#9'Payment Method'#9'F'
'Balance Due'#9'9'#9'Balance~Due'#9'F'
'Purchase Date'#9'10'#9'Purchase Date'#9'F'
'Total Invoice'#9'13'#9'Total Invoice'#9'F')
MemoAttributes = [mSizeable, mWordWrap, mGridShow]
IniAttributes.Delimiter = ';;'
ExportOptions.ExportType = wwgetHTML
ExportOptions.FileName = 'wwexportdemo.html'
ExportOptions.HTMLBorderWidth = 4
ExportOptions.Options = [esoShowHeader, esoShowFooter, esoDynamicColors, esoShowTitle, esoDblQuoteFields, esoShowAlternating]
ExportOptions.OutputWidthinTwips = 11520
ExportOptions.TitleName = 'This is an example of an exported grid from Delphi saved as HTML'
TitleColor = clNavy
FixedCols = 0
ShowHorzScrollBar = True
BiDiMode = bdLeftToRight
ParentBiDiMode = False
Align = alClient
Color = 13739646
DataSource = DataSource2
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
MultiSelectOptions = [msoShiftSelect]
Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColLines, dgRowLines, dgTabs, dgConfirmDelete, dgCancelOnExit, dgWordWrap, dgShowFooter, dgFooter3DCells]
ParentFont = False
RowHeightPercent = 200
TabOrder = 1
TitleAlignment = taCenter
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWhite
TitleFont.Height = -11
TitleFont.Name = 'Times New Roman'
TitleFont.Style = []
TitleLines = 2
TitleButtons = False
UseTFields = False
OnCalcCellColors = wwDBGrid1CalcCellColors
OnCalcTitleAttributes = wwDBGrid1CalcTitleAttributes
IndicatorIconColor = clYellow
OnUpdateFooter = wwDBGrid1UpdateFooter
FooterColor = clNavy
FooterCellColor = clYellow
FooterHeight = 23
PadColumnStyle = pcsPlain
PaintOptions.BackgroundDrawStyle = bdsStretch
PaintOptions.AlternatingRowRegions = [arrDataColumns, arrActiveDataColumn]
PaintOptions.AlternatingRowColor = clInfoBk
end
object Panel1: TPanel
Left = 0
Top = 0
Width = 584
Height = 201
Align = alTop
Caption = '`'
TabOrder = 0
object Panel2: TPanel
Left = 1
Top = 1
Width = 200
Height = 199
Align = alLeft
BevelInner = bvLowered
TabOrder = 0
object BitBtn1: TBitBtn
Left = 4
Top = 4
Width = 189
Height = 25
Hint =
'This export type preserves colors, fonts, and has many other'#13#10'en' +
'hancements. See Additional HTML Options groupbox on the right.'
Caption = 'Export To HTML'
ParentShowHint = False
ShowHint = True
TabOrder = 0
OnClick = BitBtn1Click
end
object BitBtn3: TBitBtn
Left = 4
Top = 29
Width = 189
Height = 25
Hint =
'CSV is an excellent format that many spreadsheets'#13#10'and databases' +
' accept for importing.'
Caption = 'Export To CSV (Comma Delimited)'
ParentShowHint = False
ShowHint = True
TabOrder = 1
OnClick = BitBtn3Click
end
object BitBtn2: TBitBtn
Left = 4
Top = 54
Width = 189
Height = 25
Hint =
'This export type is useful for viewing the text in a columnar fa' +
'shion'#13#10'with padded spaces based on display width of the fields.'
Caption = 'Export To Column Formatted Text'
ParentShowHint = False
ShowHint = True
TabOrder = 2
OnClick = BitBtn2Click
end
object BitBtn4: TBitBtn
Left = 4
Top = 104
Width = 189
Height = 25
Hint =
'Click here to export the grid'#39's data to a tab-delimited text fil' +
'e.'#13#10'When saving to clipboard this is an excellent format for exc' +
'el or'#13#10'other spreadsheet programs.'
Caption = 'Export Tabbed Text'
ParentShowHint = False
ShowHint = True
TabOrder = 3
OnClick = BitBtn4Click
end
object BitBtn5: TBitBtn
Left = 4
Top = 79
Width = 189
Height = 25
Hint =
'Exporting to SYLK or SLK file for excel.'#13#10'This preserves formato' +
'f fonts and colwidths.'
Caption = 'Export to SYLK'
ParentShowHint = False
ShowHint = True
TabOrder = 4
OnClick = BitBtn5Click
end
object wwRadioGroup2: TwwRadioGroup
Left = 16
Top = 152
Width = 154
Height = 32
ShowBorder = False
ShowGroupCaption = False
Caption = 'wwRadioGroup2'
Columns = 2
Items.Strings = (
'Visa'
'MasterCard'
'Discover'
'AmEx')
TabOrder = 5
Values.Strings = (
'0'
'1'
'2'
'3')
end
end
object Panel3: TPanel
Left = 201
Top = 1
Width = 382
Height = 199
Align = alClient
BevelInner = bvLowered
TabOrder = 1
object Label1: TLabel
Left = 8
Top = 120
Width = 179
Height = 13
Caption = 'Desired Width in Inches (HTML Only):'
end
object GroupBox1: TGroupBox
Left = 168
Top = 5
Width = 206
Height = 108
Caption = 'Additional HTML Options '
TabOrder = 1
object BestColumnFitCB: TwwCheckBox
Left = 8
Top = 15
Width = 192
Height = 18
AlwaysTransparent = False
Frame.Enabled = True
Frame.Transparent = True
Frame.NonFocusBorders = []
Frame.FocusStyle = efsFrameSunken
Frame.MouseEnterSameAsFocus = True
ValueChecked = 'True'
ValueUnchecked = 'False'
DisplayValueChecked = 'True'
DisplayValueUnchecked = 'False'
ShowFocusRect = False
NullAndBlankState = cbUnchecked
Caption = 'Best &Column Fit'
Color = clBtnFace
ParentColor = False
TabOrder = 0
end
object ShowCheckboxCB: TwwCheckBox
Left = 8
Top = 33
Width = 192
Height = 18
AlwaysTransparent = False
Frame.Enabled = True
Frame.Transparent = True
Frame.NonFocusBorders = []
Frame.FocusStyle = efsFrameSunken
Frame.MouseEnterSameAsFocus = True
ValueChecked = 'True'
ValueUnchecked = 'False'
DisplayValueChecked = 'True'
DisplayValueUnchecked = 'False'
ShowFocusRect = False
NullAndBlankState = cbUnchecked
Caption = 'Show Checkbo&xes'
Color = clBtnFace
ParentColor = False
TabOrder = 1
end
object ShowURLCB: TwwCheckBox
Left = 8
Top = 51
Width = 192
Height = 18
AlwaysTransparent = False
Frame.Enabled = True
Frame.Transparent = True
Frame.NonFocusBorders = []
Frame.FocusStyle = efsFrameSunken
Frame.MouseEnterSameAsFocus = True
ValueChecked = 'True'
ValueUnchecked = 'False'
DisplayValueChecked = 'True'
DisplayValueUnchecked = 'False'
ShowFocusRect = False
NullAndBlankState = cbUnchecked
Caption = 'Show &URL'
Checked = True
Color = clBtnFace
ParentColor = False
State = cbChecked
TabOrder = 2
end
object ShowColorsCB: TwwCheckBox
Left = 8
Top = 69
Width = 192
Height = 18
AlwaysTransparent = False
Frame.Enabled = True
Frame.Transparent = True
Frame.NonFocusBorders = []
Frame.FocusStyle = efsFrameSunken
Frame.MouseEnterSameAsFocus = True
ValueChecked = 'True'
ValueUnchecked = 'False'
DisplayValueChecked = 'True'
DisplayValueUnchecked = 'False'
ShowFocusRect = False
NullAndBlankState = cbUnchecked
Caption = '&Show Calculated Colors'
Checked = True
Color = clBtnFace
ParentColor = False
State = cbChecked
TabOrder = 3
end
object AlternatingCB: TwwCheckBox
Left = 8
Top = 88
Width = 192
Height = 18
AlwaysTransparent = False
Frame.Enabled = True
Frame.Transparent = True
Frame.NonFocusBorders = []
Frame.FocusStyle = efsFrameSunken
Frame.MouseEnterSameAsFocus = True
ValueChecked = 'True'
ValueUnchecked = 'False'
DisplayValueChecked = 'True'
DisplayValueUnchecked = 'False'
ShowFocusRect = False
NullAndBlankState = cbUnchecked
Caption = 'Show &Alternating Row Colors'
Checked = True
Color = clBtnFace
ParentColor = False
State = cbChecked
TabOrder = 4
end
end
object GroupBox2: TGroupBox
Left = 4
Top = 5
Width = 161
Height = 108
Caption = 'Standard Export Options'
TabOrder = 0
object ExportSelectedCB: TwwCheckBox
Left = 5
Top = 87
Width = 150
Height = 18
AlwaysTransparent = False
Frame.Enabled = True
Frame.Transparent = True
Frame.NonFocusBorders = []
Frame.FocusStyle = efsFrameSunken
Frame.MouseEnterSameAsFocus = True
ValueChecked = 'True'
ValueUnchecked = 'False'
DisplayValueChecked = 'True'
DisplayValueUnchecked = 'False'
ShowFocusRect = False
NullAndBlankState = cbUnchecked
Caption = '&Export Selected Records'
Color = clBtnFace
ParentColor = False
TabOrder = 4
end
object MultiselectCB: TwwCheckBox
Left = 5
Top = 69
Width = 150
Height = 18
AlwaysTransparent = False
Frame.Enabled = True
Frame.Transparent = True
Frame.NonFocusBorders = []
Frame.FocusStyle = efsFrameSunken
Frame.MouseEnterSameAsFocus = True
ValueChecked = 'True'
ValueUnchecked = 'False'
DisplayValueChecked = 'True'
DisplayValueUnchecked = 'False'
ShowFocusRect = False
NullAndBlankState = cbUnchecked
Caption = 'Enable &MultiSelection'
Color = clBtnFace
ParentColor = False
TabOrder = 3
OnClick = MultiselectCBClick
end
object ShowRecCB: TwwCheckBox
Left = 5
Top = 51
Width = 150
Height = 18
AlwaysTransparent = False
Frame.Enabled = True
Frame.Transparent = True
Frame.NonFocusBorders = []
Frame.FocusStyle = efsFrameSunken
Frame.MouseEnterSameAsFocus = True
ValueChecked = 'True'
ValueUnchecked = 'False'
DisplayValueChecked = 'True'
DisplayValueUnchecked = 'False'
ShowFocusRect = False
NullAndBlankState = cbUnchecked
Caption = 'Show &RecNo'
Checked = True
Color = clBtnFace
ParentColor = False
State = cbChecked
TabOrder = 2
end
object ShowHeaderCB: TwwCheckBox
Left = 5
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -