Close

This method of the Project object (we just love to say "Project object") closes the Project Manager.

Usage

prjProject.Close()
The COM Project object, added in VFP 6, provides programmatic control over projects and the Project Manager. The Close method makes it possible to shut down the Project Manager without resorting to KEYBOARDing the appropriate keystrokes.When a project that has an associated project hook is closed, whether interactively or using the Close method, the Destroy event of the project hook fires.

Example

_VFP.ActiveProject.Close()

See Also

Destroy, Project, ProjectHook


Back to Table of Contents

Copyright © 2002-2018 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. Click for license .