LevelsMultiselect: Boolean;
LevelsMultiselect: boolean;
The LevelsMultiselect property determines whether multiple selection of dimension levels is enabled.
The property will be applied only when the By Levels selection mode is enabled.
Available values:
True (by default). Multiple selection is enabled.
False. Multiple selection is disabled.
Executing the example requires the following components on the form: Button named Button1, DimensionTree named DimensionTree1 and UiDimension named UiDimension1. A calendar dictionary is selected as a data source for UiDimension, and UiDimension1 is selected as a data source for DimensionTree.
Add a link to the ExtCtrls system assembly.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
DimensionTree1.LevelsMultiselect := False;
End Sub Button1OnClick;
After executing the example clicking the button disables multiple selection of dimension levels.
The requirements and result of the Fore.NET example execution match with those in the Fore example. Use Fore.NET analogs instead of Fore components.
Imports Prognoz.Platform.Interop.ExtCtrls;
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Begin
DimensionTreeNet1.LevelsMultiselect := False;
End Sub;
See also: