BeforeClose event

Examples


The BeforeClose event occurs when the window closes. It occurs before the Microsoft Dynamics GP window close event.

Syntax

window_BeforeClose(AbortClose As Boolean)

Parameters

window – A window object.

AbortClose As Boolean – If True, this parameter stops the window from closing, and stops the Microsoft Dynamics GP window close event from occurring.

Comments

Use this event is to cancel the window close if the contents in the window don’t meet certain criteria you’ve defined.


Documentation Feedback