IRdsDictionaryBox.Cut

Syntax

Cut;

Description

The Cut method moves the selected dictionary element to clipboard.

Comments

To paste the element from clipboard to the current dictionary location, use the IRdsDictionaryBox.Paste method.

Example

Executing the example requires a form with the Button component with the Button1 identifier, the UiRdsDictionary component with the UiRdsDictionary1 identifier and the RdsDictionaryBox component with the RdsDictionaryBox1 identifier. Specify the UiRdsDictionary1 data source for the RdsDictionaryBox1 component. An MDM dictionary is used as a data source for the UiRdsDictionary1 component.

The example is a handler of the OnClick event for the Button1 component.

Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
    RdsDictionaryBox1.Cut;
End Sub Button1OnClick;

Clicking the button moves the selected dictionary element to clipboard.

See also:

IRdsDictionaryBox