EhLib
ContentsIndexHome
PreviousUpNext
Using properties of TDBGridEh.IndicatorTitle

Using properties of the TDBGridEh.IndicatorTitle object you can control the behavior of the grid when the left-top cell is clicked.

Set TitleButton property to True value to make top-left cell working as button. When TitleButton is True the properties DropdownMenu and UseGlobalMenu are also taken into consideration. If UseGlobalMenu is True then grid will form the dropped down menu using global property DBGridEhCenter.IndicatorTitleMenus.IndicatorTitleMenus. If DropdownMenu is also assigned then all elements of this menu will be added to the dropped down menu after elements of global menu. 

Sub-properties of IndicatorTitle property:

Property name 
Property type 
Description 
DropdownMenu 
TPopupMenu 
Identifies the pop-up menu, which elements will be displayed when IndicatorTitle cell is clicked. 
ShowDropDownSign 
Boolean default False 
Determines whether to display the black triangle in upper left when cell of the grid. 
TitleButton 
Boolean 
Determines whether the upper left cell works as button. 
UseGlobalMenu 
Boolean default True 
Determines whether grid will take into account the DBGridEhCenter.IndicatorTitleMenus property to form drop down menu. 
Copyright (c) 1998-2013. All rights reserved.
What do you think about this topic? Send feedback!