Dela via


IntelliSense Overview

IntelliSense in Visual FoxPro displays information in pop-up windows and drop-down lists that assists you with statement and function completion syntax and displays the available variables, objects, properties, methods, and events of objects. IntelliSense provides automatic statement completion in the Command window and the enhanced Visual FoxPro Editor, as well as through List Members, Quick Info, and List Values. You can also use the _vfp.EditorOptions property to programmatically change the status of List Members to Auto, Manual or Disabled. For more information, see EditorOptions Property.

In Visual FoxPro, although IntelliSense is always available for native commands and functions, strong typing allows full IntelliSense support in editor windows for all user-defined code elements. Strong typing also is used in OLEPUBLIC type libraries.

In This Section

  • IntelliSense Support in Visual FoxPro
    IntelliSense List Members is supported for _VFP and _Screen system variables, instantiated objects, visual objects, ActiveX controls, COM servers, native Visual FoxPro classes, and user-defined members. IntelliSense Quick Info is supported for object methods and events. IntelliSense List Values is supported and can be displayed for property assignments that have a fixed set of values.
  • Using IntelliSense in Visual FoxPro
    IntelliSense functionality is activated as you type in the Visual FoxPro Editor, in code editor windows for methods, and in the Command window.
  • Customizing IntelliSense Using FoxCode
    You can modify or add to the functionality of IntelliSense in Visual FoxPro by modifying the contents of FoxCode.dbf. By default, the FoxCode.dbf table is installed in your Windows user application folder or HOME( ) location.
  • Auto Table/Field/Variable Names
    When you type a table-related keyword in the Visual FoxPro Editor or in the Command window, the Auto Table/Field drop-down list displays the valid members in the current context.
  • Auto MRU (Most Recently Used) Files
    When you type one of the listed commands in the Command window, Visual FoxPro displays a drop-down list of the appropriate most-recently used (MRU) files.
  • Development Productivity Tools
    Visual FoxPro provides developer tools for application development within the FoxPro application and the FoxPro language.
  • Starting with the Component Gallery
    The Component Gallery is a container for catalogs of software objects, such as class libraries, forms, buttons, and so on.
  • Coverage Profiler Application
    A coverage application writes information about which lines of code in a file were run. A profiler application provides information about which lines actually run, how many times a line is run, duration, and so on.
  • Project Manager Hooks
    In Visual FoxPro, you can access a project programmatically, making it possible for you to manipulate a project as an object.
  • Automating Keystroke Tasks with Macros
    If you find yourself using the same keystrokes repeatedly, or if you want to automate some keystroke tasks for your users, you can record and save these keystrokes in macros by using the Macros dialog box.
  • Productivity Tools
    Learn about the different tools available to help make creating Visual FoxPro applications easier and faster.