Overview

The VPM Enterprise form classes are the blueprints for forms that provide you with a head start in creating common application forms. The VPM Enterprise form classes contain properties and methods that provide unique functionality for your forms.

The VPM Enterprise-level form classes are located in the VPMFORMS.VCX class library. The project-level form classes are located in the PROFORMS.VCX class library. See the “Setting Up VFP Options for Form and Control Classes” section in the VPM Enterprise Classes chapter in the User’s Guide for a discussion of how to choose the form class level to use.

The table below shows the hierarchy of the VPM Enterprise form classes.

 

VPM Enterprise Form Class Heirarchy

Form_

 

 

 

Form_Mover

 

 

Form_NoRecord

 

 

Form_Toolbar

 

 

 

Form_SingleRecord

 

 

Form_Toolbar_OneToMany

 

 

Form_Toolbar_RelatedPages

The following table provides a brief description of each form class.

Form Class

Description

Form_

VPM Enterprise base form class. All other VPM Enterprise form classes are based on this class. See Form_ Class Properties and Methods.

Form_Mover

Use this class to create forms that move items from one list to another. See Form_Mover Class Properties and Methods.

Form_NoRecord

Use this form class to create simple forms that don’t maintain data. For example, forms that introduce processes. See Form_NoRecord Class Properties and Methods.

Form_Toolbar

Incorporates the VPM Enterprise toolbar functionality. You can think of the Form_Toolbar class as the base class for forms that work with data. See Form_Toolbar Class Properties and Methods.

Form_SingleRecord

Provides functionality for forms that maintain data for tables designed to contain only one record — normally, system and parameter type tables. See Form_SingleRecord Class Properties and Methods.

Form_Toolbar_

Onetomany

The class to use with the ProMatrix One-To-Many Form Builder. See Form_Toolbar_OneToMany Class Properties and Methods.

Form_Toolbar_

RelatedPages

The class to use with the ProMatrix RelatedPages Form Builder. See Form_Toolbar_RelatedPages Class Properties and Methods.

Class Browser

If you want to thoroughly explore a form class, open the class library in the Class Browser, which you can run from the VPM Enterprise Tools menu. Select the class name in the class list. Click on the Class Browser’s View Class Code button to have the Class Browser export the class code to a Window. Then, print the class code. As you view the class code, properties will appear like memory variables and methods will appear as procedures.

Form Classes Properties and Methods

The remaining sections of this chapter describe the properties and methods of the VPM Enterprise form classes.

More:

Form_ Class Properties and Methods