Export (0) Print
Expand All

PageWindow.OnBeforeViewChange Event

Occurs before the view mode of the page window changes.

Syntax

Private Sub expression_OnBeforeViewChange(ByVal TargetView As PageViewMode, Cancel As Boolean)

expression   A variable that represents a PageWindow object that has been declared by using the WithEvents option in a class module.

Parameters

NameRequired/OptionalData TypeDescription
TargetViewRequiredPageViewModeRepresents the new view type.
CancelRequiredBooleanDetermines whether the operation should be canceled. If True, the view is not changed.



Community Additions

ADD
Show:
© 2014 Microsoft