EhLib
ContentsIndexHome
PreviousUpNext
Setting the display of tree records

DBGridEh allows you to customize the icons displayed in the grid in tree mode (When MemTable keeps records in a tree view). To customize the display of the icons of the tree, use sub-properties of property TDBGridEh.TreeViewParams. This property is of type TGridTreeViewParamsEh and contains the following sub-properties:

Property name 
Property type 
Description 
GlyphStyle 
TTreeViewGlyphStyleEh 
View picture determines the state of the tree branches. Can take the following values:

  • tvgsDefaultEh - use a default picture in TDBGridEhStyle.GetActualGlyphStyle.
  • tvgsClassicEh
  • tvgsThemedEh
  • tvgsExplorerThemedEh

 

ShowTreeLines 
Boolean 
Set this property to True to display the lines connecting the elements of the tree. 
Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!