Page Tab Order Change Event

N

neilbirtles

Hi,

Is there any way to capture when the user changes the order of the
page tabs in a visio drawing? I have a program using the visio activex
control to host a drawing surface. The pages have different headers
and footers for odd and even pages, i add the correct one based on the
page number. The problem comes when the user drags a page to a
different position, i need to capture this event and change the header
and footer if required.

I have a good trawl through the documentation and couldnt find an
event for this, was wondering if anyone else has found a way of doing
this.

thanks

Neil
 
J

JuneTheSecond

I could not find out proper events.
An alternative might be to check the order of pages before saveing the
drawing.
 
D

David Parker

This doesn't appear to be raised...

You could create a user-defined cell in each page or a title-block which
contains the fomula =PAGENUMBER() , then you could listen to the cell
changed event
 
N

neilbirtles

Thanks for the sugestions, the cell changed event sounds like a good
solution. Seems strange this event isnt raised, nearly everything else
is!
 
M

Mark Nelson [MS]

I see the DocumentChanged event fire when I reorder pages. The information
about page reordering is in the EventInfo passed along with the event.

--
Mark Nelson
Office Graphics - Visio
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

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