SelectionBorderPen: IGxPenBase;
The SelectionBorderPen property determines selection border parameters.
To determine whether the mouse click is used to select parent elements, use the IVZTreeMap.UseSelectOnClick property.
Executing the example requires that the repository contains an express report with the EXPRESS identifier. Displaying of the Tree Map visualizer is set up in the express report.
Add links to the Metabase, Express, Visualizators, Drawing system assemblies.
Sub UserProc;
Var
MB: IMetabase;
EaxAnalyzer: IEaxAnalyzer;
TreeMap: IVZTreeMap;
Begin
MB := MetabaseClass.Active;
EaxAnalyzer := MB.ItemById("EXPRESS").Edit As IEaxAnalyzer;
TreeMap := EaxAnalyzer.TreeMap.TreeMap;
TreeMap.UseSelectOnClick := True;
// Set parameters of selection border
TreeMap.SelectionBorderPen.Color := New GxColor.CreateRGB(65, 105, 225);
// Save express report
(EaxAnalyzer As IMetabaseObject).Save;
End Sub UserProc;
After executing the example
See also: