IRdsDictionaryBox.CanCopy

Syntax

CanCopy: Boolean;

Description

The CanCopy method returns whether the element can be copied to the clipboard.

Comments

Available values:

Example

Executing the example requires a form containing:

Sub CopyPaste;
Begin
    If RdsDictionaryBox1.CanCopy Then
        RdsDictionaryBox1.Copy;
    End If;
    RdsDictionaryBox1.FocusedElement := -2;
    If RdsDictionaryBox1.CanPaste Then
        RdsDictionaryBox1.Paste;
    End If;
End Sub CopyPaste;

Example execution result: an attempt to copy element to the clipboard and paste it.

See also:

IRdsDictionaryBox