Application Development with Visual FoxPro 6.0

 

Course Overview

This three-day course builds on the skills developed in the GBVFP 6101 course. The student will expand their knowledge of the Visual FoxPro tools and language to design and develop event-driven applications. The student will learn how to work with the properties, methods and events of all the form controls including the new Hyperlink control. Object-Oriented Programming (OOP) concepts and techniques are introduced in this course including the new Access and Assign methods. The student will learn how to apply OOP principles in Visual FoxPro by building classes, subclasses and working with the Class Browser and Component Gallery. Specific classes covered will include a number of Visual FoxPro's new Internet, data navigation, and utility classes. The student will receive a basic application framework and will learn how to distribute runtime versions of an application. Upon completion of the course, the student will keep the course materials and will receive a diskette containing all the course examples and exercises.

 

Course Outline

Initial Decisions

  • Functional Overview
  • Operational Overview
  • Controls
  • Queries
  • Reports
  • Classes versus Forms
  • Data Entry Architecture

Debugging Tools

  • Debug Window
  • Trace Window
  • Watch Window
  • Locals Window
  • Call Stack Window
  • Event Tracking
  • Setting Program Breakpoints

The Menu Designer

  • Menu Design
  • Building Submenus
  • Running Commands
  • Executing Menu Procedures
  • Disabling and Enabling Components
  • Setting Hot Keys
  • Menu Code Generation
  • Shortcut Menus

Introduction to Object-Oriented Programming

  • Abstraction
  • Polymorphism
  • Encapsulation
  • Inheritance
  • Classes
  • Objects
  • Instances
  • Super Class
  • Properties
  • Methods
  • Access and Assign Methods
  • Events

Form Development

  • Forms & Form Sets
  • Containers
  • Object Referencing
  • Data Environment
  • Locating Records
  • Saving Records
  • SDI Forms

Understanding Controls, Properties, Events and Methods

  • Action Controls
  • User Interface Controls
  • Data Aware Controls
  • Property Sheet
  • Event Firing Sequence
  • Event Methods

Working With Visual FoxPro's Object Model

  • DEFINE CLASS
  • CREATEOBJECT()
  • THIS, THISFORM, THISFORMSET
  • Base Classes
  • The Class Designer
  • Building Visual Classes
  • Using Classes on Forms
  • DODEFAULT()
  • The Class Browser

Working With the Component Gallery

  • Working With Catalogs
  • The Visual FoxPro Catalog
  • The Multimedia Catalog
  • The ActiveX Catalog
  • The World Wide Web Catalog
  • The Base Class Catalog
  • Working with the Foundation Classes

Structuring and Building Applications

  • READ EVENTS
  • CLEAR EVENTS
  • Application Classes
  • Building an Application Framework
  • BUILDAPP.APP
  • Applications vs. Executables
  • What's Needed to Distribute an Application
  • The Setup Wizard