Event Object [Visio 2003 SDK Documentation]
Multiple objects EventList Event EventList |
A member of the EventList collection of a source object such as a Document. An event encapsulates an event code.
An Event object can trigger two kinds of actions: it can run an add-on, or it can send a notification of the event to the calling program. To create an Event object, use the Add or AddAdvise method of an EventList object.
Version added
4.0
Remarks
The default property of an Event object is Event.
The Event property of the Event object establishes the event that triggers the action, and its Action property indicates the action to be performed.
Use the Persistable property to find out if the event can be stored with a Microsoft Visio document, or the Persistent property to find out if the event is stored. Use the Trigger method to trigger an Event object's action without waiting for the event to occur. Use the Enabled property to temporarily disable an event.
Properties | Action property | Enabled property | Event property | EventList property | ID property | Index property | ObjectType property | Persistable property | Persistent property | Target property | TargetArgs property
Methods | Delete method | SetFilterCommands method | SetFilterObjects method | SetFilterSRC method | Trigger method
Parent Objects | EventList Collection
Child Objects | EventList Object
See Also | EventList collection