ModeElements: Boolean;
The ModeElements property determines the view of the By Elements Only selection mode.
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.ModeElements := True;
DimensionTree1.ModeLevels := True;
End Sub Button1OnClick;
After executing the example clicking the button enables the By Elements and Levels selection mode.
See also: