Componentes.Terceros.DevExp.../official/x.19/ExpressQuantumGrid 5/Demos/Delphi/ConvertGrid3Demo/ConvertGrid3DemoMain.dfm
2007-09-09 11:27:22 +00:00

664 lines
20 KiB
Plaintext

object ConvertGrid3DemoMainForm: TConvertGrid3DemoMainForm
Left = 116
Top = 47
Width = 763
Height = 647
Caption = 'ExpressQuantumGrid ConvertGrid3Demo'
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
Menu = mmMain
Position = poScreenCenter
PixelsPerInch = 96
TextHeight = 13
object lbDescrip: TLabel
Left = 0
Top = 0
Width = 755
Height = 16
Align = alTop
Caption =
'Comparison of ExpressQuantumGrid 3 && 5 grids. Click '#39'About this' +
' demo'#39' for more information.'
Color = 4707838
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -13
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = False
ParentFont = False
WordWrap = True
end
object sbMain: TStatusBar
Left = 0
Top = 574
Width = 755
Height = 19
AutoHint = True
Panels = <>
ParentShowHint = False
ShowHint = True
SimplePanel = True
end
object Panel1: TPanel
Left = 0
Top = 16
Width = 755
Height = 305
Align = alTop
TabOrder = 1
object Panel3: TPanel
Left = 1
Top = 1
Width = 753
Height = 32
Align = alTop
BevelOuter = bvLowered
Caption = 'Developer Express QuantumGrid 3 (input)'
Color = 12937777
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
end
object dxGrid: TdxDBGrid
Left = 1
Top = 33
Width = 753
Height = 271
Bands = <
item
Caption = 'Basic Information'
end
item
Caption = 'Technical Information'
end
item
Caption = 'Price and Contact'
end>
DefaultLayout = False
HeaderPanelRowCount = 1
KeyField = 'ID'
ShowGroupPanel = True
ShowSummaryFooter = True
SummaryGroups = <
item
DefaultGroup = False
SummaryItems = <
item
SummaryField = 'Cyl'
SummaryType = cstCount
end
item
ColumnName = 'dxGridHP'
SummaryField = 'HP'
SummaryType = cstMax
end>
Name = 'dxGridSummaryGroup2'
end>
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 = 1
BandColor = 12937777
BandFont.Charset = DEFAULT_CHARSET
BandFont.Color = clWhite
BandFont.Height = -11
BandFont.Name = 'MS Sans Serif'
BandFont.Style = [fsBold]
DataSource = ConvertGrid3DemoMainDM.DataSource
Filter.Active = True
Filter.Criteria = {00000000}
GroupPanelColor = 4707838
GroupPanelFontColor = clBlack
GroupNodeColor = 14872561
HeaderColor = 15451300
HeaderFont.Charset = DEFAULT_CHARSET
HeaderFont.Color = clWindowText
HeaderFont.Height = -11
HeaderFont.Name = 'MS Sans Serif'
HeaderFont.Style = [fsBold]
HideSelectionColor = 15451300
HideSelectionTextColor = clBlack
HighlightColor = 12937777
HighlightTextColor = clWhite
LookAndFeel = lfUltraFlat
OptionsDB = [edgoCancelOnExit, edgoCanNavigation, edgoConfirmDelete, edgoUseBookmarks]
OptionsView = [edgoBandHeaderWidth, edgoIndicator, 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 dxGridID: TdxDBGridMaskColumn
Visible = False
Width = 65
BandIndex = 0
RowIndex = 0
FieldName = 'ID'
end
object dxGridTrademark: TdxDBGridColumn
Sorted = csUp
Visible = False
Width = 304
BandIndex = 0
RowIndex = 0
FieldName = 'Trademark'
GroupIndex = 0
SummaryGroupName = 'dxGridSummaryGroup2'
end
object dxGridModel: TdxDBGridColumn
Sorted = csUp
Width = 304
BandIndex = 0
RowIndex = 0
FieldName = 'Model'
end
object dxGridHP: TdxDBGridSpinColumn
Width = 86
BandIndex = 1
RowIndex = 0
FieldName = 'HP'
SummaryFooterType = cstMax
SummaryFooterField = 'HP'
end
object dxGridLiter: TdxDBGridMaskColumn
BandIndex = 1
RowIndex = 0
FieldName = 'Liter'
end
object dxGridCyl: TdxDBGridSpinColumn
BandIndex = 1
RowIndex = 0
FieldName = 'Cyl'
end
object dxGridTransmissSpeedCount: TdxDBGridSpinColumn
Width = 112
BandIndex = 1
RowIndex = 0
FieldName = 'TransmissSpeedCount'
end
object dxGridTransmissAutomatic: TdxDBGridCheckColumn
MinWidth = 20
Width = 100
BandIndex = 1
RowIndex = 0
FieldName = 'TransmissAutomatic'
ValueChecked = 'Yes'
ValueUnchecked = 'No'
end
object dxGridMPG_City: TdxDBGridSpinColumn
BandIndex = 1
RowIndex = 0
FieldName = 'MPG_City'
end
object dxGridCategory: TdxDBGridColumn
Width = 58
BandIndex = 0
RowIndex = 0
FieldName = 'Category'
end
object dxGridMPG_Highway: TdxDBGridSpinColumn
Width = 77
BandIndex = 1
RowIndex = 0
FieldName = 'MPG_Highway'
end
object dxGridDescription: TdxDBGridBlobColumn
Width = 100
BandIndex = 0
RowIndex = 0
HeaderMaxLineCount = 0
FieldName = 'Description'
end
object dxGridHyperlink: TdxDBGridHyperLinkColumn
BandIndex = 2
RowIndex = 0
FieldName = 'Hyperlink'
end
object dxGridPicture: TdxDBGridBlobColumn
Width = 100
BandIndex = 0
RowIndex = 0
FieldName = 'Picture'
BlobKind = bkPict
OnGetGraphicClass = dxGridPictureGetGraphicClass
end
object dxGridPrice: TdxDBGridCurrencyColumn
BandIndex = 2
RowIndex = 0
FieldName = 'Price'
Nullable = False
end
end
end
object Panel2: TPanel
Left = 0
Top = 321
Width = 755
Height = 253
Align = alClient
TabOrder = 2
object Panel4: TPanel
Left = 1
Top = 1
Width = 753
Height = 32
Align = alTop
BevelOuter = bvLowered
Caption = 'Developer Express QuantumGrid 5 (output)'
Color = 12937777
Font.Charset = DEFAULT_CHARSET
Font.Color = clWhite
Font.Height = -16
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentFont = False
TabOrder = 0
end
object cxGrid: TcxGrid
Left = 1
Top = 33
Width = 753
Height = 219
Align = alClient
TabOrder = 1
LookAndFeel.Kind = lfUltraFlat
object cxGridDBBandedTableView1: TcxGridDBBandedTableView
DataController.DataSource = ConvertGrid3DemoMainDM.DataSource
DataController.Filter.MaxValueListCount = 1000
DataController.Filter.Active = True
DataController.KeyFieldNames = 'ID'
DataController.Summary.DefaultGroupSummaryItems = <>
DataController.Summary.FooterSummaryItems = <
item
Kind = skMax
FieldName = 'HP'
Column = cxGridDBBandedTableView1HP
end>
DataController.Summary.SummaryGroups = <
item
Links = <
item
Column = cxGridDBBandedTableView1Trademark
end>
SummaryItems = <
item
Kind = skCount
FieldName = 'Cyl'
end
item
Kind = skMax
Position = spFooter
FieldName = 'HP'
Column = cxGridDBBandedTableView1HP
end>
end>
NavigatorButtons.ConfirmDelete = False
Filtering.MaxDropDownCount = 12
OptionsSelection.HideFocusRectOnExit = False
OptionsSelection.InvertSelect = False
OptionsView.Footer = True
OptionsView.GroupFooters = gfVisibleWhenExpanded
OptionsView.Indicator = True
Preview.AutoHeight = False
Preview.MaxLineCount = 2
Styles.StyleSheet = GridBandedTableViewStyleSheetDevExpress
Bands = <
item
Caption = 'Basic Information'
end
item
Caption = 'Technical Information'
end
item
Caption = 'Price and Contact'
end>
object cxGridDBBandedTableView1ID: TcxGridDBBandedColumn
DataBinding.FieldName = 'ID'
Visible = False
Width = 65
Position.BandIndex = 0
Position.ColIndex = 4
Position.RowIndex = 0
end
object cxGridDBBandedTableView1Trademark: 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 = 5
Position.RowIndex = 0
end
object cxGridDBBandedTableView1Model: TcxGridDBBandedColumn
DataBinding.FieldName = 'Model'
PropertiesClassName = 'TcxTextEditProperties'
Properties.Alignment.Horz = taLeftJustify
Properties.MaxLength = 50
Properties.ReadOnly = False
SortOrder = soAscending
Position.BandIndex = 0
Position.ColIndex = 0
Position.RowIndex = 0
end
object cxGridDBBandedTableView1HP: TcxGridDBBandedColumn
DataBinding.FieldName = 'HP'
PropertiesClassName = 'TcxSpinEditProperties'
Properties.Alignment.Horz = taRightJustify
Properties.ReadOnly = False
Properties.ValueType = vtInt
Width = 86
Position.BandIndex = 1
Position.ColIndex = 0
Position.RowIndex = 0
end
object cxGridDBBandedTableView1Liter: TcxGridDBBandedColumn
DataBinding.FieldName = 'Liter'
Position.BandIndex = 1
Position.ColIndex = 1
Position.RowIndex = 0
end
object cxGridDBBandedTableView1Cyl: 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 cxGridDBBandedTableView1TransmissSpeedCount: TcxGridDBBandedColumn
DataBinding.FieldName = 'TransmissSpeedCount'
PropertiesClassName = 'TcxSpinEditProperties'
Properties.Alignment.Horz = taRightJustify
Properties.ReadOnly = False
Properties.ValueType = vtInt
Width = 112
Position.BandIndex = 1
Position.ColIndex = 3
Position.RowIndex = 0
end
object cxGridDBBandedTableView1TransmissAutomatic: 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 cxGridDBBandedTableView1MPG_City: TcxGridDBBandedColumn
DataBinding.FieldName = 'MPG_City'
PropertiesClassName = 'TcxSpinEditProperties'
Properties.Alignment.Horz = taRightJustify
Properties.ReadOnly = False
Properties.ValueType = vtInt
Position.BandIndex = 1
Position.ColIndex = 5
Position.RowIndex = 0
end
object cxGridDBBandedTableView1Category: TcxGridDBBandedColumn
DataBinding.FieldName = 'Category'
PropertiesClassName = 'TcxTextEditProperties'
Properties.Alignment.Horz = taLeftJustify
Properties.MaxLength = 7
Properties.ReadOnly = False
Width = 58
Position.BandIndex = 0
Position.ColIndex = 1
Position.RowIndex = 0
end
object cxGridDBBandedTableView1MPG_Highway: TcxGridDBBandedColumn
DataBinding.FieldName = 'MPG_Highway'
PropertiesClassName = 'TcxSpinEditProperties'
Properties.Alignment.Horz = taRightJustify
Properties.ReadOnly = False
Properties.ValueType = vtInt
Width = 77
Position.BandIndex = 1
Position.ColIndex = 6
Position.RowIndex = 0
end
object cxGridDBBandedTableView1Description: TcxGridDBBandedColumn
DataBinding.FieldName = 'Description'
PropertiesClassName = 'TcxBlobEditProperties'
Properties.AlwaysSaveData = False
Properties.BlobEditKind = bekMemo
Properties.MemoScrollBars = ssBoth
Properties.ReadOnly = False
Properties.ShowExPopupItems = False
Properties.ShowPicturePopup = False
Width = 100
Position.BandIndex = 0
Position.ColIndex = 2
Position.RowIndex = 0
end
object cxGridDBBandedTableView1Hyperlink: TcxGridDBBandedColumn
DataBinding.FieldName = 'Hyperlink'
PropertiesClassName = 'TcxHyperLinkEditProperties'
Properties.Alignment.Horz = taLeftJustify
Properties.ReadOnly = False
Position.BandIndex = 2
Position.ColIndex = 0
Position.RowIndex = 0
end
object cxGridDBBandedTableView1Picture: 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 = 3
Position.RowIndex = 0
end
object cxGridDBBandedTableView1Price: 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 cxGridLevel1: TcxGridLevel
GridView = cxGridDBBandedTableView1
end
end
end
object mmMain: TMainMenu
Left = 72
Top = 20
object miFile: TMenuItem
Caption = '&File'
object miExit: TMenuItem
Caption = 'E&xit'
Hint = 'Press to quit the demo-program'
ShortCut = 32856
OnClick = miExitClick
end
end
object miAbout: TMenuItem
Caption = '&About this demo'
Hint = 'Displays the brief description of the current demo features'
OnClick = miAboutClick
end
end
object StyleRepository: TcxStyleRepository
Left = 40
Top = 20
object cxStyle1: TcxStyle
AssignedValues = [svColor]
Color = 15451300
end
object cxStyle2: TcxStyle
AssignedValues = [svColor]
Color = 15451300
end
object cxStyle3: TcxStyle
AssignedValues = [svColor, svFont, svTextColor]
Color = 12937777
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
TextColor = clWhite
end
object cxStyle4: TcxStyle
AssignedValues = [svColor, svFont, svTextColor]
Color = 16247513
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
TextColor = clBlack
end
object cxStyle5: TcxStyle
AssignedValues = [svColor, svFont, svTextColor]
Color = 16247513
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
TextColor = clBlack
end
object cxStyle6: TcxStyle
AssignedValues = [svColor, svFont, svTextColor]
Color = 16247513
Font.Charset = DEFAULT_CHARSET
Font.Color = clBlack
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = []
TextColor = clBlack
end
object cxStyle7: TcxStyle
AssignedValues = [svColor, svTextColor]
Color = 14811135
TextColor = clBlack
end
object cxStyle8: TcxStyle
AssignedValues = [svColor, svFont, svTextColor]
Color = 14811135
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
TextColor = clNavy
end
object cxStyle9: TcxStyle
AssignedValues = [svColor]
Color = 14872561
end
object cxStyle10: TcxStyle
AssignedValues = [svColor, svTextColor]
Color = 4707838
TextColor = clBlack
end
object cxStyle11: TcxStyle
AssignedValues = [svColor, svFont, svTextColor]
Color = 12937777
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
TextColor = clWhite
end
object cxStyle12: TcxStyle
AssignedValues = [svColor]
Color = 15451300
end
object cxStyle13: TcxStyle
AssignedValues = [svColor, svTextColor]
Color = 4707838
TextColor = clBlack
end
object cxStyle14: TcxStyle
AssignedValues = [svColor]
Color = 15451300
end
object cxStyle15: TcxStyle
AssignedValues = [svColor, svFont, svTextColor]
Color = 14811135
Font.Charset = DEFAULT_CHARSET
Font.Color = clNavy
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
TextColor = clNavy
end
object cxStyle16: TcxStyle
AssignedValues = [svColor, svTextColor]
Color = 12937777
TextColor = clWhite
end
object GridBandedTableViewStyleSheetDevExpress: TcxGridBandedTableViewStyleSheet
Caption = 'DevExpress'
Styles.Background = cxStyle1
Styles.Content = cxStyle4
Styles.ContentEven = cxStyle5
Styles.ContentOdd = cxStyle6
Styles.FilterBox = cxStyle7
Styles.Inactive = cxStyle12
Styles.IncSearch = cxStyle13
Styles.Selection = cxStyle16
Styles.Footer = cxStyle8
Styles.Group = cxStyle9
Styles.GroupByBox = cxStyle10
Styles.Header = cxStyle11
Styles.Indicator = cxStyle14
Styles.Preview = cxStyle15
Styles.BandBackground = cxStyle2
Styles.BandHeader = cxStyle3
BuiltIn = True
end
end
object LookAndFeelController: TcxLookAndFeelController
NativeStyle = True
Left = 105
Top = 21
end
end