inherited CustomDrawDemoMainForm: TCustomDrawDemoMainForm Left = 98 Top = 57 Width = 859 Height = 621 Caption = 'ExpressQuantumTreeList4 CustomDrawDemo' OldCreateOrder = True OnCreate = FormCreate OnDestroy = FormDestroy OnShow = FormShow PixelsPerInch = 96 TextHeight = 13 inherited lscrip: TLabel Width = 851 Height = 25 AutoSize = False Caption = 'This demo shows some examples of custom draw. See Help/About reg' + 'arding the various Options available above.' Font.Color = 11618330 end inherited sbMain: TStatusBar Top = 548 Width = 851 end inherited memAboutText: TMemo Lines.Strings = ( 'In this demo you can:' '' '- apply different custom draw techniques to the following tree l' + 'ist elements (see the Options/'#39'Show Custom Draw Editor...'#39'):' '' ' Background' ' BandHeader' ' Cell' ' CellsGroup' ' Footer' ' FooterCell' ' Header' ' HeaderCell' ' IndentCell' ' IndicatorCell' ' Preview' '' '- NOTE: if you haven'#39't done so already, you might like to practi' + 'ce by completing the tutorial version of this demo (see the tuto' + 'rials folder)') TabOrder = 2 end object cxDBTreeList: TcxDBTreeList [3] Left = 0 Top = 25 Width = 851 Height = 523 Styles.StyleSheet = CustomDrawDemoDataDM.TreeListStyleSheetDevExpress Align = alClient Bands = < item Caption.AlignHorz = taCenter Caption.Text = 'Common department info' Width = 201 end item Caption.AlignHorz = taCenter Caption.Text = 'Detailed department info' Width = 220 end item Caption.AlignHorz = taCenter Caption.Text = 'Manager info' Width = 339 end> BufferedPaint = True DataController.DataSource = CustomDrawDemoDataDM.dsDepartments DataController.ParentField = 'PARENTID' DataController.KeyField = 'ID' DragMode = dmAutomatic OptionsBehavior.AutomateLeftMostIndent = False OptionsData.Inserting = True OptionsView.Bands = True OptionsView.Footer = True OptionsView.GridLineColor = 14916958 OptionsView.GridLines = tlglBoth OptionsView.Indicator = True OptionsView.UseNodeColorForIndent = False Preview.Column = cxDBTreeListManagerAdress Preview.Visible = True RootValue = 255 TabOrder = 1 OnCustomDrawBackground = cxDBTreeListCustomDrawBackground OnCustomDrawBandHeader = cxDBTreeListCustomDrawBandHeader OnCustomDrawCell = cxDBTreeListCustomDrawCell OnCustomDrawCellsGroup = cxDBTreeListCustomDrawCellsGroup OnCustomDrawFooter = cxDBTreeListCustomDrawFooter OnCustomDrawFooterCell = cxDBTreeListCustomDrawFooterCell OnCustomDrawHeader = cxDBTreeListCustomDrawHeader OnCustomDrawHeaderCell = cxDBTreeListCustomDrawHeaderCell OnCustomDrawIndentCell = cxDBTreeListCustomDrawIndentCell OnCustomDrawIndicatorCell = cxDBTreeListCustomDrawIndicatorCell OnCustomDrawPreview = cxDBTreeListCustomDrawPreview OnDragOver = cxDBTreeListDragOver OnInitInsertingRecord = cxDBTreeListInitInsertingRecord object cxDBTreeListID: TcxDBTreeListColumn Visible = False Caption.Text = 'ID' DataBinding.FieldName = 'ID' Width = 63 Position.ColIndex = 2 Position.RowIndex = 0 Position.BandIndex = 0 end object cxDBTreeListPARENTID: TcxDBTreeListColumn Visible = False Caption.Text = 'PARENTID' DataBinding.FieldName = 'PARENTID' Width = 62 Position.ColIndex = 3 Position.RowIndex = 0 Position.BandIndex = 0 end object cxDBTreeListNAME: TcxDBTreeListColumn PropertiesClassName = 'TcxMemoProperties' Caption.Text = 'NAME' DataBinding.FieldName = 'NAME' Options.Footer = True Width = 259 Position.ColIndex = 0 Position.LineCount = 2 Position.RowIndex = 0 Position.BandIndex = 0 SummaryFooter.Kind = skCount end object cxDBTreeListPHONE: TcxDBTreeListColumn RepositoryItem = eriTelephoneMaskEdit Caption.Text = 'PHONE' DataBinding.FieldName = 'PHONE' Width = 167 Position.ColIndex = 1 Position.RowIndex = 0 Position.BandIndex = 0 end object cxDBTreeListFAX: TcxDBTreeListColumn RepositoryItem = eriTelephoneMaskEdit Caption.Text = 'FAX' DataBinding.FieldName = 'FAX' Width = 90 Position.ColIndex = 0 Position.RowIndex = 0 Position.BandIndex = 1 end object cxDBTreeListBUDGET: TcxDBTreeListColumn Caption.Text = 'BUDGET' DataBinding.FieldName = 'BUDGET' Options.Footer = True Width = 86 Position.ColIndex = 2 Position.RowIndex = 0 Position.BandIndex = 1 SummaryFooter.Kind = skSum end object cxDBTreeListVACANCY: TcxDBTreeListColumn Caption.Text = 'VACANCY' DataBinding.FieldName = 'VACANCY' Width = 77 Position.ColIndex = 1 Position.RowIndex = 0 Position.BandIndex = 1 end object cxDBTreeListManager: TcxDBTreeListColumn PropertiesClassName = 'TcxLookupComboBoxProperties' Properties.ImmediatePost = True Properties.KeyFieldNames = 'ID' Properties.ListColumns = < item FieldName = 'Name' end> Properties.ListSource = CustomDrawDemoDataDM.dsPersons Caption.Text = 'Manager' DataBinding.FieldName = 'MANAGERID' Width = 84 Position.ColIndex = 0 Position.RowIndex = 0 Position.BandIndex = 2 end object cxDBTreeListManagerPhone: TcxDBTreeListColumn PropertiesClassName = 'TcxLookupComboBoxProperties' Properties.KeyFieldNames = 'ID' Properties.ListColumns = < item FieldName = 'Phone' end> Properties.ListSource = CustomDrawDemoDataDM.dsPersons Properties.ReadOnly = False Caption.Text = 'Manager Phone' DataBinding.FieldName = 'MANAGERID' Width = 103 Position.ColIndex = 1 Position.RowIndex = 0 Position.BandIndex = 2 end object cxDBTreeListManagerEmail: TcxDBTreeListColumn PropertiesClassName = 'TcxLookupComboBoxProperties' Properties.KeyFieldNames = 'ID' Properties.ListColumns = < item FieldName = 'EMAIL' end> Properties.ListSource = CustomDrawDemoDataDM.dsPersons Properties.ReadOnly = False Caption.Text = 'Manager Email' DataBinding.FieldName = 'MANAGERID' Width = 152 Position.ColIndex = 2 Position.RowIndex = 0 Position.BandIndex = 2 end object cxDBTreeListManagerAdress: TcxDBTreeListColumn PropertiesClassName = 'TcxLookupComboBoxProperties' Properties.KeyFieldNames = 'ID' Properties.ListColumns = < item FieldName = 'Address' end> Properties.ListSource = CustomDrawDemoDataDM.dsPersons DataBinding.FieldName = 'MANAGERID' Width = 67 Position.ColIndex = 2 Position.RowIndex = 0 Position.BandIndex = 0 end end inherited mmMain: TMainMenu inherited miOptions: TMenuItem object miShowCustomDrawEditor: TMenuItem [0] Caption = 'Show &Custom Draw Editor...' Hint = 'Shows the CustomDraw customization form' OnClick = actCustomizationFormExecute end object miSeparator1: TMenuItem [1] Caption = '-' end object miGridLookFeel: TMenuItem [2] Caption = '&Look&&Feel' object miKind: TMenuItem Caption = '&Kind' object miFlat: TMenuItem Caption = '&Flat' GroupIndex = 1 Hint = 'Setting this option changes the demo appearance to Flat style' RadioItem = True OnClick = LookAndFeelChange end object miStandard: TMenuItem Tag = 1 Caption = '&Standard' GroupIndex = 1 Hint = 'Setting this option changes the demo appearance to Standard styl' + 'e' RadioItem = True OnClick = LookAndFeelChange end object miUltraFlat: TMenuItem Tag = 2 Caption = '&Ultra Flat' Checked = True GroupIndex = 1 Hint = 'Setting this option changes the demo appearance to Ultra Flat st' + 'yle' RadioItem = True OnClick = LookAndFeelChange end object Office111: TMenuItem Tag = 3 Caption = 'Office 11' GroupIndex = 1 RadioItem = True OnClick = LookAndFeelChange end end object miNativeStyle: TMenuItem Tag = 4 Caption = '&Native Style' Hint = 'Setting this option changes the demo appearance to Native style' OnClick = LookAndFeelChange end end object miSeparator2: TMenuItem [3] Caption = '-' end end end object cxEditRepository1: TcxEditRepository Left = 432 Top = 48 object eriTelephoneMaskEdit: TcxEditRepositoryMaskItem Properties.MaskKind = emkRegExprEx Properties.EditMask = '(\((\d\d\d)?\))? \d(\d\d?)? - \d\d(\d\d)?( - \d\d)?' end end object imIndicatorImages: TImageList Height = 12 Width = 12 Left = 560 Top = 8 Bitmap = { 494C01010400090004000C000C00FFFFFFFFFF10FFFFFFFFFFFFFFFF424D3600 000000000000360000002800000030000000240000000100200000000000001B 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000FF000000FF000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000FF000000FF000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000FF000000FF000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000FF000000FF000000FF000000 FF00000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000FF000000FF000000FF000000 FF00000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000FF000000FF000000FF000000FF000000 FF000000FF000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000FF000000FF000000FF000000FF000000 FF000000FF000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000FF000000FF000000FF000000FF000000FF000000 FF000000FF000000FF0000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000FF000000FF000000FF000000FF000000FF000000 FF000000FF000000FF0000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000FF000000FF000000FF000000FF000000FF000000 FF000000FF000000FF0000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000FF000000FF000000FF000000FF000000FF000000FF000000 FF000000FF000000FF000000FF00000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000FF000000FF000000FF000000FF000000FF000000FF000000 FF000000FF000000FF000000FF00000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000FF000000FF000000FF000000FF000000FF000000FF000000 FF000000FF000000FF000000FF00000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000FF000000FF000000FF000000FF000000FF000000FF000000 FF000000FF000000FF000000FF00000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000FF000000FF000000FF000000FF000000FF000000 FF000000FF000000FF0000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000FF000000FF000000FF000000FF000000FF000000FF000000 FF000000FF000000FF000000FF00000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000FF000000FF000000FF000000FF000000 FF000000FF000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000FF000000FF000000FF000000FF0000000000000000000000 FF000000FF000000FF000000FF00000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000FF000000FF000000FF000000 FF00000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000FF000000FF000000000000000000000000000000 00000000FF000000FF0000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000000000000000FF000000FF000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 000000000000000000000000000000000000424D3E000000000000003E000000 2800000030000000240000000100010000000000200100000000000000000000 000000000000000000000000FFFFFF0000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 00000000000000000000000000000000E07F9F801FFF0000F0FF9FE07F9F0000 F9FF0FF0FF0F0000F9FE07C03E070000999C03801C030000000C038018010000 0008018018010000999801C03C030000F0F801E07E070000E07861F0FF0F0000 F0FCF3F9FF9F0000F9FFFFF9FFFF000000000000000000000000000000000000 000000000000} end end