git-svn-id: https://192.168.0.254/svn/Componentes.Terceros.DevExpressVCL@7 05c56307-c608-d34a-929d-697000501d7a
818 lines
28 KiB
Plaintext
818 lines
28 KiB
Plaintext
object ConvertGrid3MasterDetailDemoGridsForm: TConvertGrid3MasterDetailDemoGridsForm
|
|
Left = 60
|
|
Top = 89
|
|
Width = 893
|
|
Height = 565
|
|
Caption = 'ConvertGrid3MasterDetailDemoGridsForm'
|
|
Color = clBtnFace
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -11
|
|
Font.Name = 'MS Sans Serif'
|
|
Font.Style = []
|
|
PixelsPerInch = 96
|
|
TextHeight = 13
|
|
object pcGrids: TPageControl
|
|
Left = 0
|
|
Top = 0
|
|
Width = 885
|
|
Height = 531
|
|
ActivePage = tsGrid4Mode
|
|
Align = alClient
|
|
TabOrder = 0
|
|
object tsGrid3Mode: TTabSheet
|
|
Caption = 'tsGrid3Mode'
|
|
object lblMaster: TLabel
|
|
Left = 0
|
|
Top = 34
|
|
Width = 877
|
|
Height = 16
|
|
Align = alTop
|
|
Caption = 'Master : Cars'
|
|
Color = 15790320
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -13
|
|
Font.Name = 'Arial'
|
|
Font.Style = [fsBold]
|
|
ParentColor = False
|
|
ParentFont = False
|
|
end
|
|
object Bevel1: TBevel
|
|
Left = 0
|
|
Top = 32
|
|
Width = 877
|
|
Height = 2
|
|
Align = alTop
|
|
Shape = bsTopLine
|
|
Style = bsRaised
|
|
end
|
|
object Splitter1: TSplitter
|
|
Left = 0
|
|
Top = 265
|
|
Width = 877
|
|
Height = 2
|
|
Cursor = crVSplit
|
|
Align = alTop
|
|
end
|
|
object dxDBGridCars: TdxDBGrid
|
|
Left = 0
|
|
Top = 50
|
|
Width = 877
|
|
Height = 215
|
|
Bands = <
|
|
item
|
|
Caption = 'Basic Information'
|
|
end
|
|
item
|
|
Caption = 'Tehnical Information'
|
|
end
|
|
item
|
|
Caption = 'Price and Contact'
|
|
end>
|
|
DefaultLayout = False
|
|
HeaderPanelRowCount = 1
|
|
KeyField = 'ID'
|
|
ShowGroupPanel = True
|
|
ShowSummaryFooter = True
|
|
SummaryGroups = <>
|
|
SummarySeparator = ', '
|
|
Align = alTop
|
|
Color = 16247513
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -11
|
|
Font.Name = 'MS Sans Serif'
|
|
Font.Style = []
|
|
ParentFont = False
|
|
TabOrder = 0
|
|
BandColor = 12937777
|
|
BandFont.Charset = DEFAULT_CHARSET
|
|
BandFont.Color = clWhite
|
|
BandFont.Height = -11
|
|
BandFont.Name = 'MS Sans Serif'
|
|
BandFont.Style = [fsBold]
|
|
DataSource = ConvertGrid3MasterDetailDemoDataDM.dsCars
|
|
Filter.Active = True
|
|
Filter.Criteria = {00000000}
|
|
GroupPanelColor = 4707838
|
|
GroupPanelFontColor = clBlack
|
|
GroupNodeColor = 14872561
|
|
HeaderColor = 15451300
|
|
HeaderFont.Charset = DEFAULT_CHARSET
|
|
HeaderFont.Color = clBlack
|
|
HeaderFont.Height = -11
|
|
HeaderFont.Name = 'MS Sans Serif'
|
|
HeaderFont.Style = [fsBold]
|
|
HideSelectionColor = 15451300
|
|
HideSelectionTextColor = clBlack
|
|
HighlightColor = 12937777
|
|
HighlightTextColor = clWhite
|
|
OptionsDB = [edgoCancelOnExit, edgoCanDelete, edgoCanInsert, edgoCanNavigation, edgoConfirmDelete, edgoLoadAllRecords, edgoUseBookmarks]
|
|
OptionsView = [edgoBandHeaderWidth, edgoIndicator, edgoInvertSelect, edgoUseBitmap]
|
|
PreviewFont.Charset = DEFAULT_CHARSET
|
|
PreviewFont.Color = clBlue
|
|
PreviewFont.Height = -11
|
|
PreviewFont.Name = 'MS Sans Serif'
|
|
PreviewFont.Style = []
|
|
RowFooterColor = 14811135
|
|
RowFooterTextColor = clBlack
|
|
ShowBands = True
|
|
ShowRowFooter = True
|
|
object dxDBGridCarsTrademark: TdxDBGridColumn
|
|
Sorted = csUp
|
|
Visible = False
|
|
BandIndex = 0
|
|
RowIndex = 0
|
|
FieldName = 'Trademark'
|
|
GroupIndex = 0
|
|
SummaryType = cstCount
|
|
SummaryField = 'Cyl'
|
|
end
|
|
object dxDBGridCarsModel: TdxDBGridColumn
|
|
Sorted = csDown
|
|
BandIndex = 0
|
|
RowIndex = 0
|
|
FieldName = 'Model'
|
|
end
|
|
object dxDBGridCarsPicture: TdxDBGridBlobColumn
|
|
Width = 100
|
|
BandIndex = 0
|
|
RowIndex = 0
|
|
FieldName = 'Picture'
|
|
BlobKind = bkPict
|
|
OnGetGraphicClass = dxDBGridCarsPictureGetGraphicClass
|
|
end
|
|
object dxDBGridCarsHP: TdxDBGridMaskColumn
|
|
BandIndex = 1
|
|
RowIndex = 0
|
|
FieldName = 'HP'
|
|
SummaryFooterType = cstMax
|
|
SummaryFooterField = 'HP'
|
|
end
|
|
object dxDBGridCarsDescription: TdxDBGridBlobColumn
|
|
Width = 100
|
|
BandIndex = 0
|
|
RowIndex = 0
|
|
HeaderMaxLineCount = 0
|
|
FieldName = 'Description'
|
|
BlobKind = bkMemo
|
|
MemoScrollBars = ssVertical
|
|
end
|
|
object dxDBGridCarsLiter: TdxDBGridSpinColumn
|
|
BandIndex = 1
|
|
RowIndex = 0
|
|
FieldName = 'Liter'
|
|
Increment = 0.100000000000000000
|
|
end
|
|
object dxDBGridCarsCyl: TdxDBGridSpinColumn
|
|
BandIndex = 1
|
|
RowIndex = 0
|
|
FieldName = 'Cyl'
|
|
end
|
|
object dxDBGridCarsTransmissSpeedCount: TdxDBGridSpinColumn
|
|
BandIndex = 1
|
|
RowIndex = 0
|
|
FieldName = 'TransmissSpeedCount'
|
|
end
|
|
object dxDBGridCarsTransmissAutomatic: TdxDBGridCheckColumn
|
|
MinWidth = 20
|
|
Width = 100
|
|
BandIndex = 1
|
|
RowIndex = 0
|
|
FieldName = 'TransmissAutomatic'
|
|
ValueChecked = 'Yes'
|
|
ValueUnchecked = 'No'
|
|
end
|
|
object dxDBGridCarsMPG_City: TdxDBGridMaskColumn
|
|
BandIndex = 1
|
|
RowIndex = 0
|
|
FieldName = 'MPG_City'
|
|
end
|
|
object dxDBGridCarsMPG_Highway: TdxDBGridMaskColumn
|
|
BandIndex = 1
|
|
RowIndex = 0
|
|
FieldName = 'MPG_Highway'
|
|
end
|
|
object dxDBGridCarsHyperlink: TdxDBGridHyperLinkColumn
|
|
BandIndex = 2
|
|
RowIndex = 0
|
|
FieldName = 'Hyperlink'
|
|
end
|
|
object dxDBGridCarsCategory: TdxDBGridPickColumn
|
|
BandIndex = 1
|
|
RowIndex = 0
|
|
FieldName = 'Category'
|
|
Items.Strings = (
|
|
'SPORTS'
|
|
'SALOON'
|
|
'TRUCK')
|
|
end
|
|
object dxDBGridCarsPrice: TdxDBGridCurrencyColumn
|
|
BandIndex = 2
|
|
RowIndex = 0
|
|
FieldName = 'Price'
|
|
Nullable = False
|
|
end
|
|
end
|
|
object Panel3: TPanel
|
|
Left = 0
|
|
Top = 0
|
|
Width = 877
|
|
Height = 32
|
|
Align = alTop
|
|
BevelOuter = bvLowered
|
|
Caption = 'Developer Express QuantumGrid 3 (input)'
|
|
Color = 4707838
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clBlack
|
|
Font.Height = -16
|
|
Font.Name = 'MS Sans Serif'
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
TabOrder = 1
|
|
end
|
|
object Panel1: TPanel
|
|
Left = 0
|
|
Top = 267
|
|
Width = 877
|
|
Height = 236
|
|
Align = alClient
|
|
BevelOuter = bvNone
|
|
Caption = 'Panel1'
|
|
TabOrder = 2
|
|
object lblDetail: TLabel
|
|
Left = 0
|
|
Top = 0
|
|
Width = 877
|
|
Height = 16
|
|
Align = alTop
|
|
Caption = 'Detail: Orders'
|
|
Color = 15790320
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -13
|
|
Font.Name = 'Arial'
|
|
Font.Style = [fsBold]
|
|
ParentColor = False
|
|
ParentFont = False
|
|
end
|
|
object dxDBGridOrders: TdxDBGrid
|
|
Left = 0
|
|
Top = 16
|
|
Width = 877
|
|
Height = 220
|
|
Bands = <
|
|
item
|
|
end>
|
|
DefaultLayout = True
|
|
HeaderPanelRowCount = 1
|
|
KeyField = 'ID'
|
|
ShowSummaryFooter = True
|
|
SummaryGroups = <>
|
|
SummarySeparator = ', '
|
|
Align = alClient
|
|
Color = 16247513
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWindowText
|
|
Font.Height = -11
|
|
Font.Name = 'MS Sans Serif'
|
|
Font.Style = []
|
|
ParentFont = False
|
|
TabOrder = 0
|
|
BandFont.Charset = DEFAULT_CHARSET
|
|
BandFont.Color = clWindowText
|
|
BandFont.Height = -11
|
|
BandFont.Name = 'MS Sans Serif'
|
|
BandFont.Style = []
|
|
DataSource = ConvertGrid3MasterDetailDemoDataDM.dsOrders
|
|
Filter.Active = True
|
|
Filter.Criteria = {00000000}
|
|
GroupPanelColor = 4707838
|
|
GroupPanelFontColor = clBlack
|
|
GroupNodeColor = 14872561
|
|
HeaderColor = 15451300
|
|
HeaderFont.Charset = DEFAULT_CHARSET
|
|
HeaderFont.Color = clBlack
|
|
HeaderFont.Height = -11
|
|
HeaderFont.Name = 'MS Sans Serif'
|
|
HeaderFont.Style = [fsBold]
|
|
HideSelectionColor = 15451300
|
|
HideSelectionTextColor = clBlack
|
|
HighlightColor = 12937777
|
|
HighlightTextColor = clWhite
|
|
OptionsDB = [edgoCancelOnExit, edgoCanDelete, edgoCanInsert, edgoCanNavigation, edgoConfirmDelete, edgoLoadAllRecords, edgoUseBookmarks]
|
|
OptionsView = [edgoAutoWidth, edgoBandHeaderWidth, edgoIndicator, edgoInvertSelect, edgoUseBitmap]
|
|
PreviewFont.Charset = DEFAULT_CHARSET
|
|
PreviewFont.Color = clBlue
|
|
PreviewFont.Height = -11
|
|
PreviewFont.Name = 'MS Sans Serif'
|
|
PreviewFont.Style = []
|
|
RowFooterColor = 14811135
|
|
RowFooterTextColor = clBlack
|
|
ShowRowFooter = True
|
|
object dxDBGridOrdersCustomer: TdxDBGridLookupColumn
|
|
Width = 252
|
|
BandIndex = 0
|
|
RowIndex = 0
|
|
FieldName = 'Customer'
|
|
SummaryFooterType = cstCount
|
|
SummaryFooterField = 'CustomerID'
|
|
end
|
|
object dxDBGridOrdersPurchaseDate: TdxDBGridDateColumn
|
|
Width = 153
|
|
BandIndex = 0
|
|
RowIndex = 0
|
|
FieldName = 'PurchaseDate'
|
|
SummaryFooterType = cstMax
|
|
SummaryFooterField = 'PurchaseDate'
|
|
end
|
|
object dxDBGridOrdersPaymentType: TdxDBGridImageColumn
|
|
Alignment = taLeftJustify
|
|
MinWidth = 16
|
|
Width = 108
|
|
BandIndex = 0
|
|
RowIndex = 0
|
|
FieldName = 'PaymentType'
|
|
Descriptions.Strings = (
|
|
'Cash'
|
|
'Visa Card'
|
|
'Master Card'
|
|
'American Express')
|
|
Images = ConvertGrid3MasterDetailDemoDataDM.PaymentTypeImages
|
|
ImageIndexes.Strings = (
|
|
'0'
|
|
'1'
|
|
'2'
|
|
'3')
|
|
ShowDescription = True
|
|
Values.Strings = (
|
|
'Cash'
|
|
'Visa'
|
|
'Master'
|
|
'AmEx')
|
|
end
|
|
object dxDBGridOrdersQuantity: TdxDBGridSpinColumn
|
|
Width = 83
|
|
BandIndex = 0
|
|
RowIndex = 0
|
|
FieldName = 'Quantity'
|
|
end
|
|
object dxDBGridOrdersPaymentAmount: TdxDBGridCalcColumn
|
|
Width = 107
|
|
BandIndex = 0
|
|
RowIndex = 0
|
|
FieldName = 'PaymentAmount'
|
|
SummaryFooterType = cstSum
|
|
SummaryFooterField = 'PaymentAmount'
|
|
end
|
|
end
|
|
end
|
|
end
|
|
object tsGrid4Mode: TTabSheet
|
|
Caption = 'tsGrid4Mode'
|
|
ImageIndex = 1
|
|
object Panel4: TPanel
|
|
Left = 0
|
|
Top = 0
|
|
Width = 877
|
|
Height = 32
|
|
Align = alTop
|
|
BevelOuter = bvLowered
|
|
Caption = 'Developer Express QuantumGrid 5 (output)'
|
|
Color = 4707838
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clBlack
|
|
Font.Height = -16
|
|
Font.Name = 'MS Sans Serif'
|
|
Font.Style = [fsBold]
|
|
ParentFont = False
|
|
TabOrder = 0
|
|
end
|
|
object cxGrid1: TcxGrid
|
|
Left = 0
|
|
Top = 32
|
|
Width = 877
|
|
Height = 471
|
|
Align = alClient
|
|
TabOrder = 1
|
|
LookAndFeel.Kind = lfStandard
|
|
object cxGrid1DBBandedTableView1: TcxGridDBBandedTableView
|
|
DataController.DataSource = ConvertGrid3MasterDetailDemoDataDM.dsCars
|
|
DataController.Filter.MaxValueListCount = 1000
|
|
DataController.Filter.Active = True
|
|
DataController.KeyFieldNames = 'ID'
|
|
DataController.Summary.DefaultGroupSummaryItems = <>
|
|
DataController.Summary.FooterSummaryItems = <
|
|
item
|
|
Kind = skMax
|
|
FieldName = 'HP'
|
|
Column = cxGrid1DBBandedTableView1HP
|
|
end>
|
|
DataController.Summary.SummaryGroups = <
|
|
item
|
|
Links = <
|
|
item
|
|
Column = cxGrid1DBBandedTableView1Trademark
|
|
end>
|
|
SummaryItems = <
|
|
item
|
|
Kind = skCount
|
|
FieldName = 'Cyl'
|
|
end>
|
|
end>
|
|
NavigatorButtons.ConfirmDelete = False
|
|
Filtering.MaxDropDownCount = 12
|
|
OptionsSelection.HideFocusRectOnExit = False
|
|
OptionsView.Footer = True
|
|
OptionsView.GroupFooters = gfVisibleWhenExpanded
|
|
OptionsView.Indicator = True
|
|
Preview.AutoHeight = False
|
|
Preview.MaxLineCount = 2
|
|
Styles.Content = cxStyle1
|
|
Styles.Inactive = cxStyle7
|
|
Styles.Selection = cxStyle6
|
|
Styles.Footer = cxStyle5
|
|
Styles.Group = cxStyle2
|
|
Styles.GroupByBox = cxStyle3
|
|
Styles.Header = cxStyle4
|
|
Styles.Indicator = cxStyle4
|
|
Styles.BandHeader = cxStyle8
|
|
Bands = <
|
|
item
|
|
Caption = 'Basic Information'
|
|
end
|
|
item
|
|
Caption = 'Tehnical Information'
|
|
end
|
|
item
|
|
Caption = 'Price and Contact'
|
|
end>
|
|
object cxGrid1DBBandedTableView1Trademark: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'Trademark'
|
|
PropertiesClassName = 'TcxTextEditProperties'
|
|
Properties.Alignment.Horz = taLeftJustify
|
|
Properties.MaxLength = 50
|
|
Properties.ReadOnly = False
|
|
Visible = False
|
|
GroupIndex = 0
|
|
SortOrder = soAscending
|
|
Position.BandIndex = 0
|
|
Position.ColIndex = 3
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1Model: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'Model'
|
|
PropertiesClassName = 'TcxTextEditProperties'
|
|
Properties.Alignment.Horz = taLeftJustify
|
|
Properties.MaxLength = 50
|
|
Properties.ReadOnly = False
|
|
SortOrder = soDescending
|
|
Position.BandIndex = 0
|
|
Position.ColIndex = 0
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1Picture: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'Picture'
|
|
PropertiesClassName = 'TcxBlobEditProperties'
|
|
Properties.AlwaysSaveData = False
|
|
Properties.BlobEditKind = bekPict
|
|
Properties.MemoScrollBars = ssBoth
|
|
Properties.PictureGraphicClassName = 'TJPEGImage'
|
|
Properties.ReadOnly = False
|
|
Properties.ShowExPopupItems = False
|
|
Properties.ShowPicturePopup = False
|
|
Width = 100
|
|
Position.BandIndex = 0
|
|
Position.ColIndex = 1
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1HP: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'HP'
|
|
Position.BandIndex = 1
|
|
Position.ColIndex = 0
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1Description: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'Description'
|
|
PropertiesClassName = 'TcxBlobEditProperties'
|
|
Properties.AlwaysSaveData = False
|
|
Properties.BlobEditKind = bekMemo
|
|
Properties.MemoScrollBars = ssVertical
|
|
Properties.ReadOnly = False
|
|
Properties.ShowExPopupItems = False
|
|
Properties.ShowPicturePopup = False
|
|
Width = 100
|
|
Position.BandIndex = 0
|
|
Position.ColIndex = 2
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1Liter: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'Liter'
|
|
PropertiesClassName = 'TcxSpinEditProperties'
|
|
Properties.Alignment.Horz = taRightJustify
|
|
Properties.Increment = 0.100000000000000000
|
|
Properties.ReadOnly = False
|
|
Properties.ValueType = vtInt
|
|
Position.BandIndex = 1
|
|
Position.ColIndex = 1
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1Cyl: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'Cyl'
|
|
PropertiesClassName = 'TcxSpinEditProperties'
|
|
Properties.Alignment.Horz = taRightJustify
|
|
Properties.ReadOnly = False
|
|
Properties.ValueType = vtInt
|
|
Position.BandIndex = 1
|
|
Position.ColIndex = 2
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1TransmissSpeedCount: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'TransmissSpeedCount'
|
|
PropertiesClassName = 'TcxSpinEditProperties'
|
|
Properties.Alignment.Horz = taRightJustify
|
|
Properties.ReadOnly = False
|
|
Properties.ValueType = vtInt
|
|
Width = 131
|
|
Position.BandIndex = 1
|
|
Position.ColIndex = 3
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1TransmissAutomatic: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'TransmissAutomatic'
|
|
PropertiesClassName = 'TcxCheckBoxProperties'
|
|
Properties.Alignment = taLeftJustify
|
|
Properties.NullStyle = nssUnchecked
|
|
Properties.ReadOnly = False
|
|
Properties.ValueChecked = 'Yes'
|
|
Properties.ValueGrayed = ''
|
|
Properties.ValueUnchecked = 'No'
|
|
Width = 100
|
|
Position.BandIndex = 1
|
|
Position.ColIndex = 4
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1MPG_City: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'MPG_City'
|
|
Position.BandIndex = 1
|
|
Position.ColIndex = 5
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1MPG_Highway: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'MPG_Highway'
|
|
Width = 88
|
|
Position.BandIndex = 1
|
|
Position.ColIndex = 6
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1Hyperlink: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'Hyperlink'
|
|
PropertiesClassName = 'TcxHyperLinkEditProperties'
|
|
Properties.Alignment.Horz = taLeftJustify
|
|
Properties.ReadOnly = False
|
|
Position.BandIndex = 2
|
|
Position.ColIndex = 0
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1Category: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'Category'
|
|
PropertiesClassName = 'TcxComboBoxProperties'
|
|
Properties.Alignment.Horz = taLeftJustify
|
|
Properties.DropDownRows = 7
|
|
Properties.Items.Strings = (
|
|
'SPORTS'
|
|
'SALOON'
|
|
'TRUCK')
|
|
Properties.MaxLength = 7
|
|
Properties.ReadOnly = False
|
|
Width = 56
|
|
Position.BandIndex = 1
|
|
Position.ColIndex = 7
|
|
Position.RowIndex = 0
|
|
end
|
|
object cxGrid1DBBandedTableView1Price: TcxGridDBBandedColumn
|
|
DataBinding.FieldName = 'Price'
|
|
PropertiesClassName = 'TcxCurrencyEditProperties'
|
|
Properties.Alignment.Horz = taRightJustify
|
|
Properties.DisplayFormat = '$,0.00;-$,0.00'
|
|
Properties.Nullable = False
|
|
Properties.ReadOnly = False
|
|
Properties.ValidateOnEnter = True
|
|
Position.BandIndex = 2
|
|
Position.ColIndex = 1
|
|
Position.RowIndex = 0
|
|
end
|
|
end
|
|
object cxGrid1DBTableView1: TcxGridDBTableView
|
|
DataController.DataSource = ConvertGrid3MasterDetailDemoDataDM.dsOrders
|
|
DataController.DetailKeyFieldNames = 'ProductID'
|
|
DataController.Filter.MaxValueListCount = 1000
|
|
DataController.Filter.Active = True
|
|
DataController.KeyFieldNames = 'ID'
|
|
DataController.MasterKeyFieldNames = 'ID'
|
|
DataController.Summary.DefaultGroupSummaryItems = <>
|
|
DataController.Summary.FooterSummaryItems = <
|
|
item
|
|
Kind = skCount
|
|
FieldName = 'CustomerID'
|
|
Column = cxGrid1DBTableView1Customer
|
|
end
|
|
item
|
|
Kind = skMax
|
|
FieldName = 'PurchaseDate'
|
|
Column = cxGrid1DBTableView1PurchaseDate
|
|
end
|
|
item
|
|
Kind = skSum
|
|
FieldName = 'PaymentAmount'
|
|
Column = cxGrid1DBTableView1PaymentAmount
|
|
end>
|
|
DataController.Summary.SummaryGroups = <>
|
|
NavigatorButtons.ConfirmDelete = False
|
|
Filtering.MaxDropDownCount = 12
|
|
OptionsSelection.HideFocusRectOnExit = False
|
|
OptionsView.ColumnAutoWidth = True
|
|
OptionsView.Footer = True
|
|
OptionsView.GroupByBox = False
|
|
OptionsView.GroupFooters = gfVisibleWhenExpanded
|
|
OptionsView.Indicator = True
|
|
Preview.AutoHeight = False
|
|
Preview.MaxLineCount = 2
|
|
Styles.Content = cxStyle9
|
|
Styles.Inactive = cxStyle15
|
|
Styles.Selection = cxStyle14
|
|
Styles.Footer = cxStyle13
|
|
Styles.Group = cxStyle10
|
|
Styles.GroupByBox = cxStyle11
|
|
Styles.Header = cxStyle12
|
|
Styles.Indicator = cxStyle12
|
|
object cxGrid1DBTableView1Customer: TcxGridDBColumn
|
|
DataBinding.FieldName = 'Customer'
|
|
PropertiesClassName = 'TcxLookupComboBoxProperties'
|
|
Properties.Alignment.Horz = taLeftJustify
|
|
Properties.DropDownRows = 7
|
|
Properties.ImmediateDropDown = False
|
|
Properties.ListColumns = <>
|
|
Properties.ListFieldIndex = -1
|
|
Properties.MaxLength = 30
|
|
Properties.ReadOnly = False
|
|
Width = 252
|
|
end
|
|
object cxGrid1DBTableView1PurchaseDate: TcxGridDBColumn
|
|
DataBinding.FieldName = 'PurchaseDate'
|
|
PropertiesClassName = 'TcxDateEditProperties'
|
|
Properties.Alignment.Horz = taLeftJustify
|
|
Properties.DateOnError = deToday
|
|
Width = 153
|
|
end
|
|
object cxGrid1DBTableView1PaymentType: TcxGridDBColumn
|
|
DataBinding.FieldName = 'PaymentType'
|
|
PropertiesClassName = 'TcxImageComboBoxProperties'
|
|
Properties.Alignment.Horz = taLeftJustify
|
|
Properties.DropDownRows = 7
|
|
Properties.Images = ConvertGrid3MasterDetailDemoDataDM.PaymentTypeImages
|
|
Properties.Items = <
|
|
item
|
|
Description = 'Cash'
|
|
ImageIndex = 0
|
|
Value = 'Cash'
|
|
end
|
|
item
|
|
Description = 'Visa Card'
|
|
ImageIndex = 1
|
|
Value = 'Visa'
|
|
end
|
|
item
|
|
Description = 'Master Card'
|
|
ImageIndex = 2
|
|
Value = 'Master'
|
|
end
|
|
item
|
|
Description = 'American Express'
|
|
ImageIndex = 3
|
|
Value = 'AmEx'
|
|
end>
|
|
Properties.ReadOnly = False
|
|
MinWidth = 16
|
|
Width = 108
|
|
end
|
|
object cxGrid1DBTableView1Quantity: TcxGridDBColumn
|
|
DataBinding.FieldName = 'Quantity'
|
|
PropertiesClassName = 'TcxSpinEditProperties'
|
|
Properties.Alignment.Horz = taRightJustify
|
|
Properties.ReadOnly = False
|
|
Properties.ValueType = vtInt
|
|
Width = 83
|
|
end
|
|
object cxGrid1DBTableView1PaymentAmount: TcxGridDBColumn
|
|
DataBinding.FieldName = 'PaymentAmount'
|
|
PropertiesClassName = 'TcxCalcEditProperties'
|
|
Properties.Alignment.Horz = taRightJustify
|
|
Properties.ReadOnly = False
|
|
Width = 107
|
|
end
|
|
end
|
|
object cxGrid1Level1: TcxGridLevel
|
|
GridView = cxGrid1DBBandedTableView1
|
|
object cxGrid1Level2: TcxGridLevel
|
|
GridView = cxGrid1DBTableView1
|
|
end
|
|
end
|
|
end
|
|
end
|
|
end
|
|
object cxStyleRepository1: TcxStyleRepository
|
|
object cxStyle1: TcxStyle
|
|
AssignedValues = [svColor, svTextColor]
|
|
Color = 16247513
|
|
TextColor = clWindowText
|
|
end
|
|
object cxStyle2: TcxStyle
|
|
AssignedValues = [svColor, svTextColor]
|
|
Color = 14872561
|
|
TextColor = clWindowText
|
|
end
|
|
object cxStyle3: TcxStyle
|
|
AssignedValues = [svColor, svTextColor]
|
|
Color = 4707838
|
|
TextColor = clBlack
|
|
end
|
|
object cxStyle4: TcxStyle
|
|
AssignedValues = [svColor, svFont, svTextColor]
|
|
Color = 15451300
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clBlack
|
|
Font.Height = -11
|
|
Font.Name = 'MS Sans Serif'
|
|
Font.Style = [fsBold]
|
|
TextColor = clBlack
|
|
end
|
|
object cxStyle5: TcxStyle
|
|
AssignedValues = [svColor, svTextColor]
|
|
Color = 15451300
|
|
TextColor = clWindowText
|
|
end
|
|
object cxStyle6: TcxStyle
|
|
AssignedValues = [svColor, svTextColor]
|
|
Color = 12937777
|
|
TextColor = clWhite
|
|
end
|
|
object cxStyle7: TcxStyle
|
|
AssignedValues = [svColor, svTextColor]
|
|
Color = 15451300
|
|
TextColor = clBlack
|
|
end
|
|
object cxStyle8: TcxStyle
|
|
AssignedValues = [svColor, svFont, svTextColor]
|
|
Color = 12937777
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clWhite
|
|
Font.Height = -11
|
|
Font.Name = 'MS Sans Serif'
|
|
Font.Style = [fsBold]
|
|
TextColor = clWhite
|
|
end
|
|
object cxStyle9: TcxStyle
|
|
AssignedValues = [svColor, svTextColor]
|
|
Color = 16247513
|
|
TextColor = clWindowText
|
|
end
|
|
object cxStyle10: TcxStyle
|
|
AssignedValues = [svColor, svTextColor]
|
|
Color = 14872561
|
|
TextColor = clWindowText
|
|
end
|
|
object cxStyle11: TcxStyle
|
|
AssignedValues = [svColor, svTextColor]
|
|
Color = 4707838
|
|
TextColor = clBlack
|
|
end
|
|
object cxStyle12: TcxStyle
|
|
AssignedValues = [svColor, svFont, svTextColor]
|
|
Color = 15451300
|
|
Font.Charset = DEFAULT_CHARSET
|
|
Font.Color = clBlack
|
|
Font.Height = -11
|
|
Font.Name = 'MS Sans Serif'
|
|
Font.Style = [fsBold]
|
|
TextColor = clBlack
|
|
end
|
|
object cxStyle13: TcxStyle
|
|
AssignedValues = [svColor, svTextColor]
|
|
Color = 15451300
|
|
TextColor = clWindowText
|
|
end
|
|
object cxStyle14: TcxStyle
|
|
AssignedValues = [svColor, svTextColor]
|
|
Color = 12937777
|
|
TextColor = clWhite
|
|
end
|
|
object cxStyle15: TcxStyle
|
|
AssignedValues = [svColor, svTextColor]
|
|
Color = 15451300
|
|
TextColor = clBlack
|
|
end
|
|
end
|
|
end
|