Share via


Action Property [Visio 2003 SDK Documentation]

Gets or sets the action code of an Event object.

intRet = object**.Action**

object**.Action** = actionCode

intRet     Integer. The Event object's action code.

object    Required. An expression that returns an Event object.

actionCode    Required Integer. The new action code to assign.

Version added

4.0

Remarks

An Event object consists of an event-action pair; an event triggers an action. An action code is the numeric constant for the action that the event triggers.

Microsoft Office Visio supports the following action codes.

Constant Value

visActCodeRunAddon

1

visActCodeAdvise

2

Applies to | Event object

See Also | AddAdvise method | Event property | EventInfo property | EventList collection | Target property | TargetArgs property