Reorder pages

C

Chingolo

Hi all,

I need to detect when a user reorder a page. Is
there any event which is able to help me (any examples)?

Best regards,
 
G

GMorris

Stumped me!

I thought I'd seen a lot, but PageAdded and PageChanged are the
only two I know of and neither fires when pages are reordered.
I'll be looking to see if anybody can easily answer this one...
 
K

Kari Yli-Kuha

Chingolo @hotmail.com> said:
Hi all,

I need to detect when a user reorder a page. Is
there any event which is able to help me (any examples)?

Try DocumentChanged event.

/C
 
K

Kari Yli-Kuha

Kari Yli-Kuha said:
Try DocumentChanged event.

Here's a simple VBA:

Private Sub Document_DocumentChanged(ByVal doc As IVDocument)

If doc.Application.IsInScope(visCmdReOrderPage) Then
MsgBox "Bingo! The user is reordering pages."
End If

End Sub

/C
 

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