MoveElementUp;
The MoveElementUp method moves the selected elements one position up if it is allowed.
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.CanElementUp Then
RdsDictionaryBox1.MoveElementUp;
End If;
End Sub Button1OnClick;
Clicking the button moves the selected dictionary elements one position up if it is possible.
See also: