📄 convertgrid3masterdetaildemogrids.dfm
字号:
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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -