2014-07-23 11:40:36 +00:00
|
|
|
object Form1: TForm1
|
2016-08-26 19:26:05 +00:00
|
|
|
Left = 381
|
2014-07-25 11:20:01 +00:00
|
|
|
Height = 527
|
2016-08-26 19:26:05 +00:00
|
|
|
Top = 195
|
2014-07-25 11:20:01 +00:00
|
|
|
Width = 746
|
2014-07-23 11:40:36 +00:00
|
|
|
Caption = 'Form1'
|
2014-07-25 11:20:01 +00:00
|
|
|
ClientHeight = 527
|
|
|
|
ClientWidth = 746
|
2014-07-23 11:40:36 +00:00
|
|
|
OnCreate = FormCreate
|
2016-08-26 19:26:05 +00:00
|
|
|
Position = poScreenCenter
|
|
|
|
ShowHint = True
|
2016-03-24 07:58:23 +00:00
|
|
|
LCLVersion = '1.7'
|
2014-07-23 11:40:36 +00:00
|
|
|
object RxDBGrid1: TRxDBGrid
|
|
|
|
Left = 0
|
2016-11-17 06:48:21 +00:00
|
|
|
Height = 450
|
2016-08-26 19:26:05 +00:00
|
|
|
Hint = 'Список данных'
|
2016-11-17 06:48:21 +00:00
|
|
|
Top = 77
|
2014-07-25 11:20:01 +00:00
|
|
|
Width = 746
|
2016-03-24 07:58:23 +00:00
|
|
|
ColumnDefValues.BlobText = '(blob)'
|
2016-08-26 19:26:05 +00:00
|
|
|
TitleButtons = True
|
2014-07-23 11:40:36 +00:00
|
|
|
AutoSort = True
|
|
|
|
Columns = <
|
|
|
|
item
|
|
|
|
Color = clMoneyGreen
|
|
|
|
Title.Alignment = taCenter
|
|
|
|
Title.Orientation = toHorizontal
|
2016-03-24 07:58:23 +00:00
|
|
|
Title.Caption = 'CODE'
|
2014-07-23 11:40:36 +00:00
|
|
|
Width = 90
|
|
|
|
FieldName = 'CODE'
|
2014-09-12 19:42:58 +00:00
|
|
|
EditButtons = <>
|
2016-11-17 06:48:21 +00:00
|
|
|
Filter.IsNull = False
|
|
|
|
Filter.IsAll = True
|
2014-07-23 11:40:36 +00:00
|
|
|
Filter.DropDownRows = 0
|
|
|
|
Filter.EmptyValue = '(Нет)'
|
2016-11-17 06:48:21 +00:00
|
|
|
Filter.AllValue = '(Все значения)'
|
2014-07-23 11:40:36 +00:00
|
|
|
Filter.EmptyFont.Style = [fsItalic]
|
|
|
|
Filter.ItemIndex = -1
|
2016-03-24 07:58:23 +00:00
|
|
|
Footers = <>
|
2014-07-23 11:40:36 +00:00
|
|
|
end
|
|
|
|
item
|
|
|
|
Color = clAqua
|
|
|
|
Title.Alignment = taCenter
|
|
|
|
Title.Orientation = toHorizontal
|
2016-03-24 07:58:23 +00:00
|
|
|
Title.Caption = 'NAME'
|
2014-07-23 11:40:36 +00:00
|
|
|
Width = 350
|
|
|
|
FieldName = 'NAME'
|
2014-09-12 19:42:58 +00:00
|
|
|
EditButtons = <>
|
2016-11-17 06:48:21 +00:00
|
|
|
Filter.IsNull = False
|
|
|
|
Filter.IsAll = True
|
2014-07-23 11:40:36 +00:00
|
|
|
Filter.DropDownRows = 0
|
|
|
|
Filter.EmptyValue = '(Нет)'
|
2016-11-17 06:48:21 +00:00
|
|
|
Filter.AllValue = '(Все значения)'
|
2014-07-23 11:40:36 +00:00
|
|
|
Filter.EmptyFont.Style = [fsItalic]
|
|
|
|
Filter.ItemIndex = -1
|
2016-03-24 13:13:58 +00:00
|
|
|
Footers = <
|
|
|
|
item
|
|
|
|
Alignment = taRightJustify
|
|
|
|
Value = 'Min value'
|
|
|
|
ValueType = fvtStaticText
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Alignment = taRightJustify
|
|
|
|
Value = 'Max value'
|
|
|
|
ValueType = fvtStaticText
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Alignment = taRightJustify
|
|
|
|
Value = 'Summa'
|
|
|
|
ValueType = fvtStaticText
|
|
|
|
end>
|
2014-07-23 11:40:36 +00:00
|
|
|
end
|
|
|
|
item
|
|
|
|
Title.Alignment = taCenter
|
|
|
|
Title.Orientation = toHorizontal
|
2016-03-24 07:58:23 +00:00
|
|
|
Title.Caption = 'PRICE'
|
2014-07-23 11:40:36 +00:00
|
|
|
Width = 120
|
|
|
|
FieldName = 'PRICE'
|
2014-09-12 19:42:58 +00:00
|
|
|
EditButtons = <>
|
2016-11-17 06:48:21 +00:00
|
|
|
Filter.IsNull = False
|
|
|
|
Filter.IsAll = True
|
2014-07-23 11:40:36 +00:00
|
|
|
Filter.DropDownRows = 0
|
|
|
|
Filter.EmptyValue = '(Нет)'
|
2016-11-17 06:48:21 +00:00
|
|
|
Filter.AllValue = '(Все значения)'
|
2014-07-23 11:40:36 +00:00
|
|
|
Filter.EmptyFont.Style = [fsItalic]
|
|
|
|
Filter.ItemIndex = -1
|
2016-03-24 07:58:23 +00:00
|
|
|
Footer.Alignment = taRightJustify
|
|
|
|
Footer.FieldName = 'PRICE'
|
|
|
|
Footer.ValueType = fvtSum
|
2016-03-24 13:13:58 +00:00
|
|
|
Footers = <
|
|
|
|
item
|
|
|
|
Alignment = taRightJustify
|
|
|
|
FieldName = 'PRICE'
|
|
|
|
ValueType = fvtMin
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Alignment = taRightJustify
|
|
|
|
FieldName = 'PRICE'
|
|
|
|
ValueType = fvtMax
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Alignment = taRightJustify
|
|
|
|
FieldName = 'PRICE'
|
|
|
|
ValueType = fvtSum
|
|
|
|
end>
|
2014-07-23 11:40:36 +00:00
|
|
|
end>
|
|
|
|
KeyStrokes = <
|
|
|
|
item
|
|
|
|
Command = rxgcShowFindDlg
|
|
|
|
ShortCut = 16454
|
|
|
|
Enabled = True
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Command = rxgcShowColumnsDlg
|
|
|
|
ShortCut = 16471
|
|
|
|
Enabled = True
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Command = rxgcShowFilterDlg
|
|
|
|
ShortCut = 16468
|
|
|
|
Enabled = True
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Command = rxgcShowSortDlg
|
|
|
|
ShortCut = 16467
|
|
|
|
Enabled = True
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Command = rxgcShowQuickFilter
|
|
|
|
ShortCut = 16465
|
|
|
|
Enabled = True
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Command = rxgcHideQuickFilter
|
|
|
|
ShortCut = 16456
|
|
|
|
Enabled = True
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Command = rxgcSelectAll
|
|
|
|
ShortCut = 16449
|
|
|
|
Enabled = True
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Command = rxgcDeSelectAll
|
|
|
|
ShortCut = 16429
|
|
|
|
Enabled = True
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Command = rxgcInvertSelection
|
|
|
|
ShortCut = 16426
|
|
|
|
Enabled = True
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Command = rxgcOptimizeColumnsWidth
|
|
|
|
ShortCut = 16427
|
|
|
|
Enabled = True
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Command = rxgcCopyCellValue
|
|
|
|
ShortCut = 16451
|
|
|
|
Enabled = True
|
|
|
|
end>
|
2016-03-24 07:58:23 +00:00
|
|
|
FooterOptions.Active = True
|
|
|
|
FooterOptions.Color = clYellow
|
2016-03-24 13:13:58 +00:00
|
|
|
FooterOptions.RowCount = 3
|
2016-08-26 19:26:05 +00:00
|
|
|
FooterOptions.DrawFullLine = False
|
2016-11-17 06:48:21 +00:00
|
|
|
SearchOptions.QuickSearchOptions = [loCaseInsensitive, loPartialKey]
|
|
|
|
SearchOptions.FromStart = False
|
2016-03-24 07:58:23 +00:00
|
|
|
OptionsRx = [rdgAllowColumnsForm, rdgAllowDialogFind, rdgFooterRows, rdgAllowToolMenu]
|
|
|
|
FooterColor = clYellow
|
2016-03-24 13:13:58 +00:00
|
|
|
FooterRowCount = 3
|
2016-08-26 19:26:05 +00:00
|
|
|
OnDataHintShow = RxDBGrid1DataHintShow
|
2014-07-23 11:40:36 +00:00
|
|
|
Align = alClient
|
|
|
|
Color = clWindow
|
|
|
|
DrawFullLine = False
|
|
|
|
FocusColor = clRed
|
|
|
|
SelectedColor = clHighlight
|
|
|
|
GridLineStyle = psSolid
|
|
|
|
DataSource = DataSource1
|
2016-11-17 06:48:21 +00:00
|
|
|
Options = [dgEditing, dgTitles, dgIndicator, dgColumnResize, dgColumnMove, dgColLines, dgRowLines, dgAlwaysShowSelection, dgConfirmDelete, dgCancelOnExit, dgMultiselect, dgHeaderPushedLook]
|
2014-07-23 11:40:36 +00:00
|
|
|
ParentColor = False
|
|
|
|
TabOrder = 0
|
|
|
|
TitleStyle = tsNative
|
|
|
|
end
|
|
|
|
object Panel1: TPanel
|
|
|
|
Left = 0
|
2016-11-17 06:48:21 +00:00
|
|
|
Height = 77
|
2014-07-23 11:40:36 +00:00
|
|
|
Top = 0
|
2014-07-25 11:20:01 +00:00
|
|
|
Width = 746
|
2014-07-23 11:40:36 +00:00
|
|
|
Align = alTop
|
|
|
|
AutoSize = True
|
2016-11-17 06:48:21 +00:00
|
|
|
ClientHeight = 77
|
2014-07-25 11:20:01 +00:00
|
|
|
ClientWidth = 746
|
2014-07-23 11:40:36 +00:00
|
|
|
TabOrder = 1
|
|
|
|
object Label1: TLabel
|
|
|
|
AnchorSideLeft.Control = Panel1
|
|
|
|
AnchorSideTop.Control = Panel1
|
|
|
|
Left = 7
|
2016-11-17 06:48:21 +00:00
|
|
|
Height = 20
|
2014-07-23 11:40:36 +00:00
|
|
|
Top = 7
|
2016-11-17 06:48:21 +00:00
|
|
|
Width = 145
|
2014-07-23 11:40:36 +00:00
|
|
|
BorderSpacing.Around = 6
|
|
|
|
Caption = 'SpeadSheet file name '
|
|
|
|
ParentColor = False
|
|
|
|
end
|
|
|
|
object FileNameEdit1: TFileNameEdit
|
|
|
|
AnchorSideLeft.Control = Label1
|
|
|
|
AnchorSideTop.Control = Label1
|
|
|
|
AnchorSideTop.Side = asrBottom
|
|
|
|
Left = 13
|
2016-11-17 06:48:21 +00:00
|
|
|
Height = 37
|
2016-08-26 19:26:05 +00:00
|
|
|
Hint = 'Укажите имя файла'
|
2016-11-17 06:48:21 +00:00
|
|
|
Top = 33
|
2014-07-23 11:40:36 +00:00
|
|
|
Width = 275
|
|
|
|
FilterIndex = 0
|
|
|
|
HideDirectories = False
|
|
|
|
ButtonWidth = 23
|
|
|
|
NumGlyphs = 1
|
|
|
|
BorderSpacing.Around = 6
|
|
|
|
MaxLength = 0
|
2016-03-24 07:58:23 +00:00
|
|
|
TabOrder = 0
|
2014-07-23 11:40:36 +00:00
|
|
|
end
|
|
|
|
object Button1: TButton
|
|
|
|
AnchorSideLeft.Control = FileNameEdit1
|
|
|
|
AnchorSideLeft.Side = asrBottom
|
|
|
|
AnchorSideTop.Control = FileNameEdit1
|
|
|
|
AnchorSideTop.Side = asrCenter
|
|
|
|
Left = 294
|
|
|
|
Height = 33
|
2016-08-26 19:26:05 +00:00
|
|
|
Hint = 'Начать выгрузку'
|
2016-11-17 06:48:21 +00:00
|
|
|
Top = 35
|
2014-07-23 11:40:36 +00:00
|
|
|
Width = 87
|
|
|
|
Caption = 'Export data'
|
|
|
|
OnClick = Button1Click
|
2016-03-24 07:58:23 +00:00
|
|
|
TabOrder = 1
|
2014-07-23 11:40:36 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
object RxMemoryData1: TRxMemoryData
|
|
|
|
FieldDefs = <
|
|
|
|
item
|
|
|
|
Name = 'CODE'
|
|
|
|
DataType = ftInteger
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Name = 'NAME'
|
|
|
|
DataType = ftString
|
|
|
|
Size = 300
|
|
|
|
end
|
|
|
|
item
|
|
|
|
Name = 'PRICE'
|
|
|
|
DataType = ftCurrency
|
|
|
|
end>
|
|
|
|
PacketRecords = 0
|
|
|
|
left = 368
|
|
|
|
top = 184
|
|
|
|
object RxMemoryData1CODE: TLongintField
|
|
|
|
DisplayWidth = 10
|
|
|
|
FieldKind = fkData
|
|
|
|
FieldName = 'CODE'
|
|
|
|
Index = 0
|
|
|
|
LookupCache = False
|
|
|
|
ProviderFlags = [pfInUpdate, pfInWhere]
|
|
|
|
ReadOnly = False
|
|
|
|
Required = False
|
|
|
|
end
|
|
|
|
object RxMemoryData1NAME: TStringField
|
|
|
|
DisplayWidth = 300
|
|
|
|
FieldKind = fkData
|
|
|
|
FieldName = 'NAME'
|
|
|
|
Index = 1
|
|
|
|
LookupCache = False
|
|
|
|
ProviderFlags = [pfInUpdate, pfInWhere]
|
|
|
|
ReadOnly = False
|
|
|
|
Required = False
|
|
|
|
Size = 300
|
|
|
|
end
|
|
|
|
object RxMemoryData1PRICE: TCurrencyField
|
|
|
|
DisplayWidth = 10
|
|
|
|
FieldKind = fkData
|
|
|
|
FieldName = 'PRICE'
|
|
|
|
Index = 2
|
|
|
|
LookupCache = False
|
|
|
|
ProviderFlags = [pfInUpdate, pfInWhere]
|
|
|
|
ReadOnly = False
|
|
|
|
Required = False
|
|
|
|
MaxValue = 0
|
|
|
|
MinValue = 0
|
|
|
|
Precision = 2
|
|
|
|
end
|
|
|
|
end
|
|
|
|
object DataSource1: TDataSource
|
|
|
|
DataSet = RxMemoryData1
|
|
|
|
left = 328
|
|
|
|
top = 184
|
|
|
|
end
|
|
|
|
object RxDBGridExportSpreadSheet1: TRxDBGridExportSpreadSheet
|
|
|
|
RxDBGrid = RxDBGrid1
|
|
|
|
Caption = 'Экспорт в электронную таблицу'
|
2014-09-12 19:42:58 +00:00
|
|
|
ShowSetupForm = True
|
2014-07-23 11:40:36 +00:00
|
|
|
OnBeforeExecute = RxDBGridExportSpreadSheet1BeforeExecute
|
|
|
|
PageName = 'Test page'
|
2016-03-24 13:13:58 +00:00
|
|
|
Options = [ressExportTitle, ressExportColors, ressExportFooter, ressExportFormula, ressOverwriteExisting]
|
2016-03-24 07:58:23 +00:00
|
|
|
OpenAfterExport = True
|
2014-07-23 11:40:36 +00:00
|
|
|
left = 336
|
|
|
|
top = 256
|
|
|
|
end
|
|
|
|
end
|