Chapter 18. Event Handling in the Visio Object Model

IN THIS CHAPTER

  • VBA Code Behind Events for Visio Objects

  • VBA Code Behind Events for ActiveX Controls

  • Cell Dependencies

  • WithEvents Keyword in Visio Automation

  • Creating an Event Sink for Visio Objects

Prior to Visio 4.1, the only mechanism for Visio to respond to user events was through the ShapeSheet, utilizing either the Event section of the ShapeSheet with any of the TheText, EventXFMod, EventDblClick, or EventDrop Cells or by using a DependsOn() formula to simulate event handling for a particular cell. Although these methods are still available to you as the programmer, and they are still recommended when they solve the problem sufficiently, Visio has added a more robust, programmable event ...

Get Professional Development with Visio® 2000 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.