Hacker’s Guide to Visual FoxPro
An irreverent look at how Visual FoxPro really works. Tells you the inside scoop on every command, function, property, event and method of Visual FoxPro.
This method of the Project object (we just love to say “Project object”) closes the Project Manager.
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.
_VFP.ActiveProject.Close()