Description

Load the clipboard with data from this object.

Return Type

A Boolean value.   A String with the name of the clipboard format.
Failure Returns vbNullString..

Failure conditions:
Impossible.

Syntax

object.ClipboardSetData (lClipFormat, eOLEDropEffectAllowed, [ePreferredDropEffect], [sDisplayName])

The ClipboardSetData Method syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDataNodes.
lClipFormatRequired. A Long value. The needed clipboard format. When either 0 or ClipboardFormatNumber the clipboard will be loaded with
information about the Selection. Otherwise the specific format will be returned for the Current.
eOLEDropEffectAllowedRequired. An OLEDropEffectConstants enumeration, as described in settings. The drop effect to be used. vbDropEffectNone and vbDropEffectAll are treated the same.
When any object in the selection may use the given drop effect the clipboard format will be returned.
ePreferredDropEffectOptional. An OLEDropEffectConstants enumeration, as described in settings.
sDisplayNameOptional. A String value. An identifier specifying a particular McDataSource implementation.

Settings

The settings for eOLEDropEffectAllowed are:

ConstantValueDescription
 vbDropEffectNone0

No OLE drag/drop operation has taken place/would take place.

 vbDropEffectCopy1

A mask to indicate that a copy has taken place/would take place.

 vbDropEffectMove2

A mask to indicate that a move has take place/would take place.

 vbDropEffectLink4

A mask to indicate that a link has take place/would take place.

 vbDropEffectScroll-2147483648

A mask to indicate that the drop target window has scrolled/would scroll.

 vbDropEffectAll-2147483641

A mask to indicate for all drop target actions known to this type.

The settings for ePreferredDropEffect are:

ConstantValueDescription
 vbDropEffectNone0

No OLE drag/drop operation has taken place/would take place.

 vbDropEffectCopy1

A mask to indicate that a copy has taken place/would take place.

 vbDropEffectMove2

A mask to indicate that a move has take place/would take place.

 vbDropEffectLink4

A mask to indicate that a link has take place/would take place.

 vbDropEffectScroll-2147483648

A mask to indicate that the drop target window has scrolled/would scroll.

 vbDropEffectAll-2147483641

A mask to indicate for all drop target actions known to this type.