Cut;
Cut();
The Cut method moves the selected dictionary element to clipboard.
To paste the element from clipboard to the current dictionary location, use the IRdsDictionaryBox.Paste method.
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.
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 button1_Click(sender: System.Object; e: System.EventArgs);
Begin
rdsDictionaryBoxNet1.CtrlBox.Cut();
End Sub;
See also: