IVZPlacedControlBase.Visible

Syntax

Visible: Boolean;

Description

The Visible property determines visibility of control.

Example

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

Before executing this example, the bubble tree looks as shown on the IVZBubbleTree interface description page. Hide the bubble tree legend:

Sub UserProc;
Var
    Metabase: IMetabase; // Metabase
    Analyzer: IEaxAnalyzer; // Express report
    BubbleTree: IVZBubbleTree; // Bubble tree
    Legend: IVZIntervalsLegend; // Legend with intervals
Begin       
    // Get metabase object
    Metabase := MetabaseClass.Active;
    // Open express report
    Analyzer := Metabase.ItemById("EXP").Edit As IEaxAnalyzer;
    // Get bubble tree
    BubbleTree := Analyzer.BubbleTree.BubbleTree;
    // Get legend with intervals
    Legend := BubbleTree.Legends.Item(0As IVZIntervalsLegend;
    // Hide bubble tree legend
    Legend.Visible := False;
    // Save changes, made in express report
    (Analyzer As IMetabaseObject).Save; 
End Sub UserProc;

After executing the example the bubble tree legend is hidden:

See also:

IVZPlacedControlBase