IVZDataVisualizer.UseSelectOnRightClick

Fore syntax

UseSelectOnRightClick: Boolean;

Fore.NET syntax

UseSelectOnRightClick: boolean;

Description

The UseSelectOnRightClick property determines whether to select elements on the right mouse button click.

Comments

Available values:

Fore example

Executing the example requires that the repository contains an express report with the EXPRESS identifier.

Ad links to the Express, Metabase, Visualizators system assemblies.

Sub userProc;
Var
    Metabase: IMetabase;
    EaxAnalyzer: IEaxAnalyzer;
    BubbleTree: IVZBubbleTree;
Begin
    Metabase := MetabaseClass.Active;
    EaxAnalyzer := Metabase.ItemById("EXPRESS").Edit As IEaxAnalyzer;
    // Get bubble tree
    BubbleTree := EaxAnalyzer.BubbleTree.BubbleTree;
    // Indicates whether elements are selected on the right mouse button click
    BubbleTree.UseSelectOnRightClick := True;
    // Save express report
    (EaxAnalyzer As IMetabaseObject).Save;
End Sub userProc;

After executing the example bubble tree elements can be selected on the right mouse button click.

Fore.NET example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.Metabase;
Imports Prognoz.Platform.Interop.Express;
Imports Prognoz.Platform.Interop.Visualizators;

Public Shared Sub Main(Params: StartParams);
Var
    Metabase: IMetabase;
    EaxAnalyzer: IEaxAnalyzer;
    BubbleTree: IVZBubbleTree;
Begin
    Metabase := Params.Metabase;
    EaxAnalyzer := Metabase.ItemById["EXPRESS"].Edit() As IEaxAnalyzer;
    // Get bubble tree
    BubbleTree := EaxAnalyzer.BubbleTree.BubbleTree;
    // Indicates whether elements are selected on the right mouse button click
    BubbleTree.UseSelectOnRightClick := True;
    // Save express report
    (EaxAnalyzer As IMetabaseObject).Save();
End Sub;

See also:

IVZDataVisualizer