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: |
| object | An expression evaluating to an object of type McDataNodes. | | lClipFormat | Required. 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. | | eOLEDropEffectAllowed | Required. 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. | | ePreferredDropEffect | Optional. An OLEDropEffectConstants enumeration, as described in settings. | | sDisplayName | Optional. A String value. An identifier specifying a particular McDataSource implementation. | Settings The settings for eOLEDropEffectAllowed are:
 | vbDropEffectNone | 0 |
No OLE drag/drop operation has taken place/would take place.
|
 | vbDropEffectCopy | 1 |
A mask to indicate that a copy has taken place/would take place.
|
 | vbDropEffectMove | 2 |
A mask to indicate that a move has take place/would take place.
|
 | vbDropEffectLink | 4 |
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:
 | vbDropEffectNone | 0 |
No OLE drag/drop operation has taken place/would take place.
|
 | vbDropEffectCopy | 1 |
A mask to indicate that a copy has taken place/would take place.
|
 | vbDropEffectMove | 2 |
A mask to indicate that a move has take place/would take place.
|
 | vbDropEffectLink | 4 |
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.
|
|