Event for page changes (at top of window).
[event] pageChange()
This event will be called whenever the viewer displays a new page.

This event is useful, for example, to update a "current page number" display in your application.

The page change event is called whenever the displayed page number changes. This can happen in several ways:

In continuous mode, this event is triggered when the page displayed at the top of the window changes. See midPageChange for an event triggered when the page in the middle of the window changes.
Private Sub viewer_pageChange() pageNumLabel.Caption = viewer.currentPage End Sub