IDimSelection.SelectLevel

Fore Syntax

SelectLevel(Element:Integer);

Fore.NET Syntax

SelectLevel(Element:uinteger);

Parameters

Element. Dimension level.

Description

The SelectLevel method sets a dimension level.

Comments

To work with dictionary level properties, use the IDimLevelInstance interface.

Fore Example

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.

Fore.NET Example

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:

IDimSelection