ShowLines: Boolean;
ShowLines: boolean;
The ShowLines property determines whether connecting lines are displayed between nodes and their children.
Available values:
True. Default. Connecting lines between nodes and their children are displayed.
False. Connecting lines between nodes and their children are hidden.
Executing the example requires a form with the Button1 button and the MetaAttributesBreadcrumb component named MetaAttributesBreadcrumb1. MetaAttributesBreadcrumb1 is connected to a time series database.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
DV: IDimensionViewerBase;
Begin
DV := MetaAttributesBreadcrumb1.DimensionViewer;
//Hide connecting line between node and children
DV.ShowLines := False;
//Hide expand and collapse buttons for all tree elements
DV.ShowRoot := False;
DV.ShowButtons := False;
//Hide tooltips on mouse over on elements
DV.ShowHints := False;
//Display column names
MetaAttributesBreadcrumb1.ShowColumnHeaders := True;
//Hide column header menu call button
DV.ShowHeaderButton := False;
//Clicking the element selects only the element, not the entire row
DV.RowSelect := False;
//Enable column header click
DV.ColumnClick := True;
End Sub Button1OnClick;
Clicking the button in the drop-down list of the MetaAtrributesBreadCrumb1 component sets up various visual interface elements.
The requirements and result of the Fore.NET example execution match with those in the Fore example. Use Fore.NET analogs instead of Fore components.
Imports Prognoz.Platform.Interop.ExtCtrls;
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Var
DV: IDimensionViewerBase;
Begin
DV := MetaAttributesBreadcrumbNet1.CtrlBox.DimensionViewer;
//Hide connecting line between node and children
DV.ShowLines := False;
//Hide expand and collapse buttons for all tree elements
DV.ShowRoot := False;
DV.ShowButtons := False;
//Hide tooltips on mouse over on elements
DV.ShowHints := False;
//Display column names
MetaAttributesBreadcrumb1.ShowColumnHeaders := True;
//Hide column header menu call button
DV.ShowHeaderButton := False;
//Clicking the element selects only the element, not the entire row
DV.RowSelect := False;
//Enable column header click
DV.ColumnClick := True;
End Sub;
See also: