Compartir a través de


Save As Class Dialog Box

Makes it possible for you to save a form or selected controls on a form as a class definition. If you plan to create subclasses based on the form or reuse the controls for other forms, save the form as a class.

This dialog box appears when you select Save As Class on the File menu.

  • Save
    Specifies the part of the form to save as a class definition.

    • Selected Controls   Saves only the selected controls as a class definition.

    • Current Form   Saves the active form as a class definition.

    • Entire Form Set   Saves a collection of related forms as a class definition. This command is enabled after you use the Create FormSet command on the Form menu.

    • DataEnvironment   Saves a form's data environment and any contained cursors or cursor adapters in the specified visual class library (.vcx) file.

  • As Class
    Specifies the class definition to which to save the selected controls, entire form, or form set.

    • Name   Specifies the name assigned to the class.

    • File   Specifies the name of the .vcx file in which to store the class definition.

    • Description   Specifies the optional description for the class.

See Also

Tasks

How to: Save Forms

Concepts

Working with Classes in Visual FoxPro

Other Resources

Dialog Boxes (Visual FoxPro)