Description

This event is fired when a project is closed.

Syntax

Private Sub object_Close(Project, Cancel)

The Close Event syntax has these parts:

PartDescription
objectA McProject object.
ProjectA McProject object.

The project being closed.

CancelA Boolean value.

Set to True to cancel the closing operation.

Remarks

By setting Cancel to True, it is possible to cancel the closing of this project. If this happens when quitting, application shutdown will be cancelled as well.