SelectionDeleteCanceled in the Visio 2003 Active X Control not Firing

D

Denis Zavadil

I have ported an application which was originally written in VBA within
Visio 2002 to VB.NET 2003 utilizing the new Visio Active X control. Under
certain conditions I cancel a shapes deletion through the
QueryCancelSelectionDelete event by setting its value to True, which in turn
fires the SelectionDeleteCanceled event where I execute some code. This
works as expected in the Document events within VBA for Visio 2003.

Having ported the code to VB.NET 2003 utilizing the new Active X control I
find that the SelectionDeleteCanceled event does not fire when setting the
value of the QueryCancelSelectionDelete event to True.

Is this a known bug? If so, is there a fix or work around?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top