DoAction Method

Applies To   See Also  

This method is used to ask the plugin object to perform a Win32 action.

Syntax
Sub DoAction(WindowHandle As Long,
    ActionID As Long,
    Argument)
Parameters

WindowHandle

This parameter is not used in the current version of Crystal Enterprise. (0 is passed in this version.)

ActionID

The ID number for the action to be executed. See CeReservedActionIDs for a list of reserved actions and their IDs.

Argument

Declared as Variant to be used for the actions described below.

Remarks

Depending on the action you are performing, the Argument parameter will have different meanings. For example, if you are moving an object, then you should enter an ID number for the Argument parameter. The meanings that Argument may take on are described below.
Action Meaning

ceActionMove

Argument is the ID of the object's new parent.

ceActionCopy

Argument is the new object's parent ID (No value will mean same with target object).

ceActionAlias (i.e. Shortcut)

Argument is the alias' parent ID. No value will mean same as target object.

ceActionRename

Argument is a string for the new name.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com