Bagikan melalui


Understanding the Event Model

Microsoft Visual FoxPro provides true modeless operation, so you can coordinate multiple forms automatically and run multiple instances of a form simultaneously. Visual FoxPro also manages event processing for you, so you can give users a much richer interactive environment.

In This Section

  • Events in Visual FoxPro
    Describes what events are in Microsoft Visual FoxPro and provides a table containing the core set of Visual FoxPro events.
  • Tracking Event Sequences
    Explains how to turn on event tracking and provides an example form to illustrate how event order is dependent on user interaction.
  • Assigning Code to Events
    Provides helpful hints on how to place code based on the sequence of events.
  • Programming in Visual FoxPro
    Microsoft 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.
  • Object-Oriented Programming
    With object-oriented programming, you can create self-contained application components that respond to user actions and to the system and which can be easily maintained and reused.
  • Writing Class Definitions Programmatically
    You can define classes visually in the Class Designer and the Form Designer or programmatically in .PRG files.