共用方式為


ActiveProject Property

Contains an object reference to the Project object for the currently active Project Manager window. Read-only at design time and run time.

Object.ActiveProject

Remarks

The ActiveProject property contains an object reference to the Project object for the foremost Project Manager window when more than one Project Manager window is open. An error is generated if you attempt to access the ActiveProject property when a Project Manager window isn't open.

For more information about projects, see Project Manager Hooks and Application Development and Developer Productivity.

See Also

File Object | Files Collection | Project Object | ProjectHook Object | Projects Collection | Server Object | Servers Collection

Applies To: Application Object | _VFP System Variable