Description

Called by McDataNodes.ClipboardData prior to processing.

Syntax

Private Sub object_BeforeClipboardData(pnoderefSelected, lClipFormat, eValueSource, eCancel)

The BeforeClipboardData Event syntax has these parts:

PartDescription
objectA McDataManager object.
pnoderefSelectedA McDataNodeRef object.
lClipFormatA Long value.
eValueSourceA mcDataObjectValueSource enumeration, as described in settings.
eCancelA mcDataCancel enumeration, as described in settings. Fail or bypass (because already implemented) the current entry or all enties of the command.

Settings

The settings for eValueSource are:

ConstantValueDescription
 mcdataOVSObjectDirectWhenExists1

IDispatch property Get call on the raw object when it exists.

 mcdataOVSObjectWhenExists2

Object (through it's handler) when it exists.

 mcdataOVSJournal4

Journal Attribute.

 mcdataOVSDatabase8

Database Attribute.

 mcdataOVSMakeObjectExist4096

Attempt to Open the Object (hidden) when not already loaded.

The settings for eCancel are:

ConstantValueDescription
 mcdatac_Continue0

VBA.False; Continue as normal.

 mcdatac_AbortWholeCommand-1

(VBA.True) Will rollback when in a transaction.

 mcdatac_IgnoreCurrentEntry-2

Will skip (not process) the single instance on a multi-instance command (Same as mcdatac_AbortWholeCommand for single instance command)

 mcdatac_AlreadyProcessedAll-1

Will skip all remaining instance without processing but will not rollback.

 mcdatac_AlreadyProcessedCurrentEntry0

Will skip all current instance without processing (same as skip but signifies handled).