IVZBreadcrumb.ItemsStyle

Syntax

ItemsStyle: IVZLabelStyle;

Description

The ItemsStyle property determines style of navigation chain elements.

Example

Executing the example requires that the repository contains an express report with the EXP identifier. The module that contains 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 navigation chain looks as shown on the IVZBreadcrumb Interface Description page. Change font color of text labels of tree map navigation chain:

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 navigation chain text labels is changed:

See also:

IVZBreadcrumb