IVZBubbleTree.ItemsToolTipStyle

Syntax

ItemsToolTipStyle: IVZToolTipStyle;

Description

The ItemsToolTipStyle property returns an object used to work with tooltip style.

Comments

To determine whether standard color of tooltip font is used, use IVZBubbleTree.LabelAutoColor.

Example

Executing the example requires an express report with the EXPRESS_IVZBUBBLETREE identifier that contains a bubble tree.

Add links to the Drawing, Express, Metabase, Visualizators system assemblies.

Sub UserProc;
Var
    mb: IMetabase;
    analyzer: IEaxAnalyzer;
    bt: IEaxBubbleTree;
    BubbleTree: IVZBubbleTree;
    ItemsTooltipStyle: IVZToolTipStyle;
    color: GxColor;
Begin
    // Get metabase object
    mb := MetabaseClass.Active;
    // Get express report object
    analyzer := mb.ItemById("EXPRESS_IVZBUBBLETREE").Edit As IEaxAnalyzer;
    // Get bubble tree
    bt := analyzer.BubbleTree;
    // Get bubble tree as a visualizer
    BubbleTree := bt.BubbleTree;
    // Get tooltip style
    ItemsTooltipStyle := bubbletree.ItemsToolTipStyle;
    // Disable standard color of tooltip color
    BubbleTree.LabelAutoColor := False;
    // Create a new color
    color := New GxColor.CreateRGB(1200120);
    // Set a new tooltip font color
    ItemsTooltipStyle.FontColor := color;
    // Save changes
    (analyzer As IMetabaseObject).Save;
End Sub UserProc;

After executing the example the tooltip font color is changed.

See also:

IVZBubbleTree