Foundation Class Samples

The Visual FoxPro foundation classes provide rapid application development with as little coding as possible and are supplied with the Component Gallery. The classes work immediately by addressing the following needs:

  • Provide common database development tools and structures.

  • Provide fast, extensible generic components.

  • Provide components that enhance and ease Web page development.

  • Provide effective wrappers for system API functions.

  • Provide an extensive set of functions to a wide range of Visual FoxPro users.

In This Section

  • Add Miscellaneous Form Buttons Sample
    Shows the use of command buttons in applications to perform such tasks as starting and stopping an application, displaying a form, or previewing a report.
  • Expanding the SetAll Method Sample
    Uses the SetAllx Foundation Class to allow for programmatic setting of object properties based on extended criteria not available with the native SetAll( ) method.
  • Generate HTML Sample
    Shows how you can use HTML classes to create Web pages from your data, forms, and reports.
  • Pool Manager Sample
    Demonstrates how to use the Pool Manager class, which manages a pool or collection of objects from a class and is useful when you need to use objects repeatedly for a short amount of time.
  • Run Word, Excel, and Graph Automation Sample
    Demonstrates adding automation routines to an application to create Microsoft Excel pivot tables, Microsoft Word mail merge documents, Visual FoxPro cross-tabs, and Graph charts.
  • Use Array Handling Sample
    Demonstrates useful methods for expanding array-handling functionality. This sample uses ACOLSCAN( ) to search a specific column in an array.

Related Sections

  • Visual FoxPro Foundation Classes A-Z
    Lists the foundation classes in alphabetical order. Many of these foundation classes are used in the Solutions sample located in the ...\Samples\Solution folder.
  • Samples
    Provides class library, server, solutions, and foundation class code samples that you can use for experimenting and getting to know particular features in Visual FoxPro.