Share via


Save As Class Dialog Box

Lets you save a form, or selected controls on a form, as a class definition. Create a class if you intend to create subclasses based on the form or reuse the controls for other forms.

This dialog box appears when you select Save As Class from 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

Save As Dialog Box | Import Dialog Box | Class Designer | Classes in Visual FoxPro | Class and Object Manipulation | Saving Forms