Close method

Examples


The Close method closes an open window.

Syntax

window.Close

Parameters

window – A window object.

Comments

Use the Close method to close any open window in Microsoft Dynamics GP (a window whose IsLoaded property is True). An open window may not necessarily be visible.

The Close method invokes the VBA BeforeClose event and AfterClose event, and the Microsoft Dynamics GP close event for the window.


Documentation Feedback