UseSelectOnRightClick: Boolean;
UseSelectOnRightClick: boolean;
The UseSelectOnRightClick property determines whether to select elements on the right mouse button click.
Available values:
True. Elements are selected on the right mouse button click.
False. Elements are not selected on the right mouse button click.
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.
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: