detect shape custom property update

Started by visiostarter2009, October 09, 2009, 03:39:54 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

visiostarter2009

Hi,

I want to detect a shape custom property value update (the events) to do updates on other shapes.

The shape is the one selected.

Do I have to use an AddAdvise to include the FormulaChanged event?

How to connect this event to the shape selected?

Thanks.

aledlund

The formula changed event fires whenever any formula is changed. The visio sdk has an example of how to filter it to watch for specific fields. The event will pass the  cell information that changed and you can from that get which shape 'fired' the event. The addadvise part depends on how you are writing your solution. As an example the drawing control fires it's events natively so it doesn't need it.
hth,
al