SelectLevel(Element:Integer);
SelectLevel(Element:uinteger);
Element. Dimension level.
The SelectLevel method sets a dimension level.
To work with dictionary level properties, use the IDimLevelInstance interface.
Executing the example requires a form, the UiDimension component named UiDimension1 and the components using data of the UiDimension component.
Sub IDIMSELECTION_SELECTLEVEL_FORM_OnCreate(Sender: Object; Args: IEventArgs);
Var
c: string;
Begin
DimensionTree1.Selection.SelectLevel(1);
End Sub IDIMSELECTION_SELECTLEVEL_FORM_OnCreate;
After executing the example the second dimension level is selected in the form.
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.
Private Sub IDIMSELECTION_SELECTLEVEL_FORM_NETForm_Activated(sender: System.Object; e: System.EventArgs);
Var
c: string;
Begin
DimensionTreeNet1.Selection.SelectLevel(1);
End Sub;
See also: