Partager via


Project Manager Hooks

In previous versions of Visual FoxPro, the only access to a project was through direct table manipulation of the project's .pjx file. In Visual FoxPro, you can access a project programmatically and therefore manipulate a project as an object. A project can be manipulated at design time while the project is open in the Project Manager, or at design time and run time without the Project Manager visible.

The following are some of the actions you can perform programmatically on a project:

  • Add or delete files from a project.

  • Add files in the project to source code control applications (such as Microsoft Visual SourceSafe) and check files in and out of source code control.

    Note   If you add a project to Visual SourceSafe, for proper mapping to the project, all files contained in the project must be in the project directory or path.

  • Determine the number of files in a project and their types.

  • Open and modify files in the project.

  • Change properties of the project.

  • Change properties of files in the project.

  • Change properties of Automation servers (.dll dynamic-link libraries or .exe executable files) built from the project.

  • Execute code when events occur in the project.

  • Rebuild the project, or build .app, .exe, or .dll files from the project.

With the project manager hooks, advanced developers can create their own project managers with unique customized user interfaces.

In This Section

  • Development Productivity Tools
    Provides information on developer tools provided for application development within the Visual FoxPro application and the language.
  • IntelliSense Overview
    Provides information on IntelliSense, which displays information in popup windows and drop-down lists that assist you with statement and function completion syntax.
  • Coverage Profiler Application
    Discusses a coverage application, which writes information about which lines of code in a file were run, and a profiler application, which provides information about which lines actually run, how many times a line is run, duration, and so on.
  • Automating Keystroke Tasks with Macros
    Describes how you can record and save keystrokes in macros by using the Macros dialog box.
  • Productivity Tools
    Describes the different tools available to help make creating Visual FoxPro applications easier and faster.