IVZBreadcrumb.ItemsStyle

Syntax

ItemsStyle: IVZLabelStyle;

Description

The ItemsStyle property determines style of breadcrumb elements.

Example

Executing the example requires that the repository contains an express report with the EXP identifier. The unit containing the example should have links to the Express, Metabase, Drawing and Visualizators system assemblies. The specified procedure should be called from the Main entry point.

Before executing the example, a tree map breadcrumb looks as shown on the IVZBreadcrumb Interface Description page. Change font color of text labels of tree map breadcrumb:

Sub UserProc;
Var
    Metabase: IMetabase; // Metabase
    EaxAnalyzer: IEaxAnalyzer; // Express report
    TreeMap: IVZTreeMap; // Tree map
    Breadcrumb: IVZBreadcrumb; // Navigation chain
    ItemsStyle: IVZLabelStyle; // Text label style
Begin
    // Get metabase object
    Metabase := MetabaseClass.Active;
    // Get express report object
    EaxAnalyzer := Metabase.ItemById("EXP").Edit As IEaxAnalyzer;
    // Get tree map
    TreeMap := EaxAnalyzer.TreeMap.TreeMap;
    // Get navigation chain
    Breadcrumb := TreeMap.Breadcrumb;
    // Get style of text labels for the navigation chain
    ItemsStyle := Breadcrumb.ItemsStyle;
    // Change color of text labels font
    ItemsStyle.FontColor := New GxColor.CreateRGB(255229180);
    // Set new style value
    Breadcrumb.ItemsStyle := ItemsStyle;
    // Save express report
    (EaxAnalyzer As IMetabaseObject).Save;
End Sub UserProc;

After executing the example the font color of tree map breadcrumb text labels is changed:

See also:

IVZBreadcrumb