Object-Oriented Programming

While Visual FoxPro still supports standard procedural programming, new extensions to the language give you the power and flexibility of object-oriented programming. Object-oriented design and object-oriented programming represent a change in focus from standard procedural programming. Instead of thinking about program flow from the first line of code to the last line of code, you need to think about creating objects: self-contained components of an application that have private functionality as well as functionality that you can expose to the user.

In This Section

  • Programming in Visual FoxPro
    Visual FoxPro is a powerful interactive data management tool, but you also can access the full power of Visual FoxPro by creating applications. Understanding object-oriented programming techniques and the event-driven model can maximize your programming productivity.
  • Application Development
    As you develop an application, organize its pieces with the Project Manager, an integrated way to build and test your application as you go.
  • Writing Class Definitions Programmatically
    You can define classes visually in the Class Designer and the Form Designer or programmatically in .PRG files.
  • Understanding the Event Model
    The event model defines when and how user and system interactions occur.