A collection of project objects.
Projects |
Remarks
Applies To: _VFP System Variable | Application Object
A projects collection provides access to project objects, making it possible for you to manipulate a project and files and servers within the project.
Items in projects collection can be referenced by index number or by name. For example, the following code rebuilds the most recently opened project:
В | Copy Code |
---|---|
_VFP.Projects(1).Build( ) |
The following code rebuilds the project named MyProject:
В | Copy Code |
---|---|
_VFP.Projects('MyProject.pjx').Build( ) |
For more information about the projects collection, see Project Manager Hooks.