Application.WindowViewChange Event
Project Developer Reference |
Occurs after the top pane view is changed within a project window. The WindowViewChange event returns a success argument that tells whether the view change action was successful.
Syntax
expression.WindowViewChange(Window, prevView, newView, success)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data Type | Description |
---|---|---|---|
Window | Required | Window | The window where the view change occurs. |
prevView | Required | View | The previous topic pane view the user was in before the view change occurred. If the user was not in a project view before applying the current view, the prevView argument returns null. |
newView | Required | View | The new top pane view the user has now applied. |
success | Required | Boolean | True if the view change action succeeded. |
Return Value
nothing
Remarks
Project events do not occur when the project is embedded in another document or application.
See Also