Compartir a través de


How to: Add Classes to Forms

You can drag a class from the Project Manager to the Form Designer or to the Class Designer. You can also register your classes so that they can be displayed directly on the Form Controls toolbar in the Class Designer or Form Designer and added to containers the same way the standard controls are added.

To add a class to a form

  1. From the Project Manager window, select a class to add to a form.

  2. Click and drag the class from the Project Manager window to an open Form Designer.

See Also

Tasks

How to: Set Properties

How to: Call Methods

Concepts

Working with Classes in Visual FoxPro

Container Hierarchy Object Referencing

Other Resources

Object-Oriented Programming