Share via


PageWindow.OnClose Event

SharePoint Designer Developer Reference

Occurs when a user closes the active page window. .

Syntax

Private Sub expression_OnClose(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

Name Required/Optional Data Type Description
Cancel Required Boolean Determines whether the operation should be canceled. True cancels closure of the active page window.

See Also