📄 viewbandeddemomain.dfm
字号:
object ViewBandedDemoMainForm: TViewBandedDemoMainForm
Left = 64
Top = 29
Width = 934
Height = 647
Caption = 'ExpressQuantumGrid ViewBanded Demo'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
Menu = mmMain
Position = poScreenCenter
OnShow = FormShow
PixelsPerInch = 96
TextHeight = 13
object lbDescription: TLabel
Left = 0
Top = 0
Width = 926
Height = 20
Align = alTop
AutoSize = False
Caption =
'Create and remove bands at runtime. Experiment using the Options' +
' available. Click "About this demo" for more information.'
Color = 12937777
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
WordWrap = True
end
object cxGrid: TcxGrid
Left = 0
Top = 20
Width = 926
Height = 554
Align = alClient
TabOrder = 0
object btvItems: TcxGridDBBandedTableView
DataController.DataSource = ViewBandedDemoDataDM.dsITEMS
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <>
DataController.Summary.SummaryGroups = <>
NavigatorButtons.ConfirmDelete = False
OptionsView.Navigator = True
Bands = <
item
Caption = 'Item Info'
end
item
Caption = 'Creator Info'
end
item
Caption = 'Owner Info'
end>
object btvItemsNAME: TcxGridDBBandedColumn
Caption = 'Name'
DataBinding.FieldName = 'NAME'
Width = 200
Position.BandIndex = 0
Position.ColIndex = 0
Position.RowIndex = 0
end
object btvItemsTYPE: TcxGridDBBandedColumn
Caption = 'Type'
DataBinding.FieldName = 'TYPE'
PropertiesClassName = 'TcxImageComboBoxProperties'
Properties.Images = ilMain
Properties.Items = <
item
Description = 'Bug'
ImageIndex = 9
Value = False
end
item
Description = 'Request'
ImageIndex = 8
Value = True
end>
Width = 50
Position.BandIndex = 0
Position.ColIndex = 1
Position.RowIndex = 0
end
object btvItemsPRIORITY: TcxGridDBBandedColumn
Caption = 'Priority'
DataBinding.FieldName = 'PRIORITY'
PropertiesClassName = 'TcxImageComboBoxProperties'
Properties.ImageAlign = iaRight
Properties.Images = ilMain
Properties.Items = <
item
Description = 'Low'
ImageIndex = 4
Value = 1
end
item
Description = 'Hi'
ImageIndex = 3
Value = 2
end>
Width = 60
Position.BandIndex = 0
Position.ColIndex = 2
Position.RowIndex = 0
end
object btvItemsPROJECTID: TcxGridDBBandedColumn
Caption = 'Project'
DataBinding.FieldName = 'PROJECTID'
PropertiesClassName = 'TcxLookupComboBoxProperties'
Properties.KeyFieldNames = 'ID'
Properties.ListColumns = <
item
FieldName = 'NAME'
end>
Properties.ListSource = ViewBandedDemoDataDM.dsPROJECTS
Visible = False
GroupIndex = 0
SortOrder = soAscending
Position.BandIndex = 0
Position.ColIndex = 3
Position.RowIndex = 0
end
object btvItemsSTATUS: TcxGridDBBandedColumn
Caption = 'Status'
DataBinding.FieldName = 'STATUS'
PropertiesClassName = 'TcxImageComboBoxProperties'
Properties.ImageAlign = iaRight
Properties.Images = ilMain
Properties.Items = <
item
Description = 'New'
ImageIndex = 5
Value = '1'
end
item
Description = 'Postponed'
ImageIndex = 6
Value = 2
end
item
Description = 'Rejected'
ImageIndex = 7
Value = 3
end
item
Description = 'Fixed'
ImageIndex = 10
Value = 4
end>
Position.BandIndex = 0
Position.ColIndex = 4
Position.RowIndex = 0
end
object btvItemsDESCRIPTION: TcxGridDBBandedColumn
Caption = 'Description'
DataBinding.FieldName = 'DESCRIPTION'
Visible = False
Position.BandIndex = 0
Position.ColIndex = 5
Position.RowIndex = 0
end
object btvItemsFIXEDDATE: TcxGridDBBandedColumn
Caption = 'Fixed Date'
DataBinding.FieldName = 'FIXEDDATE'
PropertiesClassName = 'TcxDateEditProperties'
Width = 75
Position.BandIndex = 0
Position.ColIndex = 6
Position.RowIndex = 0
end
object btvItemsCREATEDDATE: TcxGridDBBandedColumn
Caption = 'Created Date'
DataBinding.FieldName = 'CREATEDDATE'
PropertiesClassName = 'TcxDateEditProperties'
Width = 75
Position.BandIndex = 0
Position.ColIndex = 7
Position.RowIndex = 0
end
object btvItemsCreatorName: TcxGridDBBandedColumn
Caption = 'Creator Name'
DataBinding.FieldName = 'CREATORID'
PropertiesClassName = 'TcxLookupComboBoxProperties'
Properties.KeyFieldNames = 'ID'
Properties.ListColumns = <
item
FieldName = 'Name'
end>
Properties.ListSource = ViewBandedDemoDataDM.dsUSERS
Width = 100
Position.BandIndex = 1
Position.ColIndex = 0
Position.RowIndex = 0
end
object btvItemsCreatorPhone: TcxGridDBBandedColumn
Caption = 'Creator Phone'
DataBinding.FieldName = 'CREATORID'
PropertiesClassName = 'TcxLookupComboBoxProperties'
Properties.KeyFieldNames = 'ID'
Properties.ListColumns = <
item
FieldName = 'PHONE'
end>
Properties.ListSource = ViewBandedDemoDataDM.dsUSERS
Options.Editing = False
Width = 90
Position.BandIndex = 1
Position.ColIndex = 1
Position.RowIndex = 0
end
object btvItemsOwnerName: TcxGridDBBandedColumn
Caption = 'Owner Name'
DataBinding.FieldName = 'OWNERID'
PropertiesClassName = 'TcxLookupComboBoxProperties'
Properties.KeyFieldNames = 'ID'
Properties.ListColumns = <
item
FieldName = 'Name'
end>
Properties.ListSource = ViewBandedDemoDataDM.dsUSERS
Width = 100
Position.BandIndex = 2
Position.ColIndex = 0
Position.RowIndex = 0
end
object btvItemsOwnerPhone: TcxGridDBBandedColumn
Caption = 'Owner Phone'
DataBinding.FieldName = 'OWNERID'
PropertiesClassName = 'TcxLookupComboBoxProperties'
Properties.KeyFieldNames = 'ID'
Properties.ListColumns = <
item
FieldName = 'PHONE'
end>
Properties.ListSource = ViewBandedDemoDataDM.dsUSERS
Options.Editing = False
Width = 90
Position.BandIndex = 2
Position.ColIndex = 1
Position.RowIndex = 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -