IRdsDictionaryBox.MoveElementLevelUp

Syntax

MoveElementLevelUp;

Description

The MoveElementLevelUp method moves the selected elements one level up if it is allowed.

Example

Executing the example requires a form with the Button1 button, the RdsDictionaryBox component named RdsDictionaryBox1, and the UiRdsDictionary component that is a data source for RdsDictionaryBox1.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
    If RdsDictionaryBox1.CanElementLevelUp Then
        RdsDictionaryBox1.MoveElementLevelUp;
    End If;
End Sub Button1OnClick;

Clicking the button moves the selected dictionary elements one level up if it is possible.

See also:

IRdsDictionaryBox