Application Events (Visio)
Contribute to this content Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation. |
This object has the following events:
Events
Name |
Description |
---|---|
Occurs after the Microsoft Visio instance leaves a modal state. |
|
Occurs when hidden information is removed from the document. |
|
Occurs after a shape-replacement operation. |
|
Occurs when the operating system resumes normal operation after having been suspended. |
|
Occurs after firing of events is resumed. |
|
Occurs after a Microsoft Visio instance becomes active. |
|
Occurs after a Microsoft Visio instance becomes inactive. |
|
Occurs after a Microsoft Visio instance becomes active. |
|
Occurs after a Microsoft Visio instance becomes inactive. |
|
Occurs before a DataRecordset object is deleted from the DataRecordsets collection. |
|
Occurs before a document is closed. |
|
Occurs before a document is saved. |
|
Occurs just before a document is saved by using the Save As command. |
|
Occurs before a master is deleted from a document. |
|
Occurs before a Microsoft Visio instance enters a modal state. |
|
Occurs before a page is deleted. |
|
Occurs before a Microsoft Visio instance terminates. |
|
Occurs just before a shape-replacement operation. |
|
Occurs before selected objects are deleted. |
|
Occurs before a shape is deleted. |
|
Occurs before a shape is opened for text editing in the user interface. |
|
Occurs before a style is deleted. |
|
Occurs before the operating system enters a suspended state. |
|
Occurs before firing of events is suspended. |
|
Occurs before a window is closed. |
|
Occurs before a window is about to show a different page. |
|
Occurs before the shapes in the selection of a window are deleted. |
|
Occurs when a new callout relationship is added to the application. |
|
Occurs when a callout relationship is deleted from the application. |
|
Occurs after the value changes in a cell in a document. |
|
Occurs after connections have been established between shapes. |
|
Occurs after connections between shapes have been removed. |
|
Occurs when a new container relationship is added to the document. |
|
Occurs when a container relationship is deleted from the document. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelConvertToGroup event. |
|
Occurs when a DataRecordset object is added to a DataRecordsets collection. |
|
Occurs when a data recordset changes as a result of being refreshed. |
|
Occurs before a document enters design mode. |
|
Occurs after certain properties of a document are changed. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelDocumentClose event. |
|
Occurs after a document is created. |
|
Occurs after a document is opened. |
|
Occurs after a document is saved. |
|
Occurs after a document is saved by using the Save As command. |
|
Queued when an internal command begins, or when an Automation client opens a scope by using the BeginUndoScope method. |
|
Queued when an internal command ends, or when an Automation client exits a scope by using the EndUndoScope method. |
|
Occurs after a formula changes in a cell in the object that receives the event. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelGroup event. |
|
Occurs when a keyboard key is pressed. |
|
Occurs when a keyboard key is pressed. |
|
Occurs when a keyboard key is released. |
|
Caused by calling the QueueMarkerEvent method. |
|
Occurs after a new master is added to a document. |
|
Occurs after properties of a master are changed and propagated to its instances. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelMasterDelete event. |
|
Occurs when a mouse button is clicked. |
|
Occurs when the mouse is moved. |
|
Occurs when a mouse button is released. |
|
Occurs before the Microsoft Visio instance is forced to flush its event queue. |
|
Occurs after the Microsoft Visio instance is forced to flush its event queue. |
|
Occurs after the Microsoft Visio instance flushes its event queue. |
|
Occurs when Microsoft Visio receives a keystroke message from Microsoft Windows that is targeted at an add-on window or child of an add-on window. |
|
Occurs after a new page is added to a document. |
|
Occurs after the name of a page, the background page associated with a page, or the page type (foreground or background) changes. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelPageDelete event. |
|
Occurs before the application converts a selection of shapes to a group in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application closes a document in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application groups a selection of shapes in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application deletes a master in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application deletes a page in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application terminates in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs immediately after a shape-replacement operation is requested. If any event handler returns True, the operation is canceled. |
|
Occurs before the application deletes a selection of shapes in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application deletes a style in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the operating system enters a suspended state. If any event handler returns True, the Microsoft Visio instance will deny the operating system's request. |
|
Occurs before the application suspends events in response to client code. If any event handler returns True, the operation is canceled. |
|
Occurs before the application ungroups a selection of shapes in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs before the application closes a window in response to a user action in the interface. If any event handler returns True, the operation is canceled. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelQuit event. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelReplaceShapes event. |
|
Occurs when a rule set is validated. |
|
Occurs after a document enters run mode. |
|
Occurs after one or more shapes are added to a document. |
|
Occurs after a set of shapes selected in a window changes. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelSelectionDelete event. |
|
Occurs after one or more shapes are added to a document. |
|
Occurs after a property of a shape that is not stored in a cell is changed in a document. |
|
Occurs after a data graphic is applied to or deleted from a shape. |
|
Occurs after a shape is no longer open for interactive text editing. |
|
Occurs after a shape is linked to a data row. |
|
Occurs after the link between a shape and a data row is deleted. |
|
Occurs after shapes are grouped or a group is ungrouped. |
|
Occurs after a new style is added to a document. |
|
Occurs after the name of a style is changed or a change to the style propagates to objects to which the style is applied. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelStyleDelete event. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelSuspend event. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelSuspendEvents event. . |
|
Occurs after the text of a shape is changed in a document. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelUngroup event. |
|
Occurs when the zoom level or scroll position of a drawing window changes. |
|
Occurs after the application empties its message queue. |
|
Occurs after the active window changes in a Microsoft Visio instance. |
|
Occurs when the size or position of a window changes. |
|
Occurs after an event handler has returned True (cancel) to a QueryCancelWindowClose event. |
|
Occurs after a window is opened. |
|
Occurs after a window shows a different page. |