共用方式為


Objects

An object is an instance of a class. A class is a description of the data and behavior characteristics of a group of objects. Visual FoxPro objects can be forms, form sets, or controls. Use Visual FoxPro objects to implement consistent, dependable behavior throughout your application, to reduce the amount of code, and to increase the reusability of code.

Each object responds to specific events, and has properties and methods. You manipulate these objects through their events, methods, and properties.

To create objects

For more information about programming with objects, see Object-Oriented Programming. For more information about Visual FoxPro properties, events, and methods, see Understanding the Event Model. For a list of other controls you can use, see the ActiveX Controls Overview.

See Also

CREATEOBJECT( ) Function | Form Designer | Classes and Objects | Controls and Objects | Data Storage Containers