Foundation Class Samples
The Visual FoxPro Foundation Classes are supplied with the Component Gallery to provide rapid application development with as little coding as possible. 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 a rich set of functions to a wide range of Visual FoxPro users
In This Section
- Guidelines for Using Visual FoxPro Foundation Classes
Provides an overview of the situations and solutions in which to use foundation classes. - Add a Data-Bound Calendar Sample
Demonstrates the use of a data-bound ActiveX calendar control to enhance data entry in date fields in forms. - Add Data Lookup Combo Boxes Sample
Performs a lookup of values in a field to populate a combo box. - Add Data Querying to Forms Sample
Demonstrates options that enable you to navigate within a table and locate data. - Add Data Sorting and Filtering to Forms Sample
Demonstrates the use of advanced querying options in a form as well as options for performing an ascending or descending order sort of data. - 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. - Add Navigation to Forms Sample
Demonstrates various options for providing data navigation in forms. - Add Shortcut Menus to Objects Sample
Demonstrates the use of shortcut menus on a form, including using separators, bold text, checked commands, and cascading menus. - Add Web Hyperlinks to a Form Sample
Demonstrates adding hyperlink functionality and launching a Web browser from various controls. - Application Error Handling Sample
Demonstrates application error handling and recording details of the application state. - Create a Visual FoxPro Web Browser Sample
Demonstrates providing a Web browser control in a Visual FoxPro form to display data in HTML. - Create Record Bound Graphs Sample
Shows the use of data from fields to generate graphs on a record-by-record basis. - Create Toolbar Control Effects Sample
Demonstrates various effects you can achieve on toolbar controls when the mouse is moved over them. - Display Data Reporting Output Options Sample
Demonstrates a simple text editor and provides a variety of report output options. - 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. - Fun with Access/Assign Methods Sample
Demonstrates ways to use Access/Assign methods in a form. - Fun with OLE Drag and Drop Sample
Shows ways to use OLE drag and drop by adding code to the OLEDragDrop and OLEDragOver events. - Generate HTML Sample
Shows how you can use HTML classes to create Web pages from your data, forms, and reports. - Handle Application Environment Tasks Sample
Demonstrates utilities for saving and restoring critical state settings and handling common application operations. - Handle Common Windowing Tasks Sample
Demonstrates arranging and cascading various forms on the desktop. - Handle Data Conflicts Sample
Demonstrates resolving data conflicts, allowing the user to update data in the form. - OLE Drag-and-Drop Data Formats Sample
Provides data formats for OLE drag and drop source data objects. Shows how to use OLE drag and drop to report data about the dragged item. - Pool Manager Sample
Femonstrates 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. - Retrieve Project Location and Name Sample
Demonstrates providing the user with a place to enter a file and directory location, primarily to create new projects. - 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. - Search Text Using Regular Expressions Sample
Demonstrates the use of regular expression searching in applications. - Tips for the Windows 2000 Logo Program Sample
Shows several Foundation Classes that provide information that might be of use in making applications Windows 2000 Logo compliant. - Track Activities in a Project Sample
Demonstrates how project hooks can be used to track project activity, including adding, deleting, and modifying files. - Treeview/Listbox Drag and Drop Sample
Provides examples of settings for OLEDragMode and OLEDropMode properties of the Treeview and Listbox controls. - Use Access/Assign Methods for Polymorphism Sample
Demonstrates object polymorphism. - Use Array Handling Sample
Demonstrates useful methods for expanding array-handling functionality. This sample uses ACOLSCAN( ) to search a specific column in an array. - Use an Enhanced Openfile Dialog Box Sample
Shows use of the Common File Dialog Foundation Class. - Use Common Application Dialog Boxes Sample
Shows how you can use dialog boxes in applications for common operations such as user logons, splash screens, about boxes, and so on. - Use Edit Buttons for a Complex Form Sample
Demonstrates using buttons for editing forms involving one-to-many relationships. - Use Edit Buttons for a Simple Form Sample
Demonstrates the use of simple data edit buttons for editing simple forms with a single table. - Use Mover List Boxes for Selecting Data Sample
Demonstrates using mover list boxes to load tables and fields from a data source and to handle data sorting. - Use Progress Thermometer Sample
Demonstrates the use of a standard display to show progress in applications.
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.