Project Options

The Project Options dialog lets you change the project options described below.

Controls Class Library

VPM Enterprise provides classes for the controls that you can place on a form. The VPME Controls Classes provide special properties and methods that give the VPME controls unique functionality.

The VPM Enterprise Form and Controls Builders place controls based on the VPM Enterprise controls classes on forms. By default, the VPM Enterprise Form and Controls Builders use the controls classes contained in the PROCTRLS.VCX controls class library located in a project’s home directory.

You can change this default controls class library for a project by entering the name of a different controls class library on the ProMatrix Options dialog.

Normally, if you change the default controls class library, you will change the default to be the DEVCTRLS.VCX class library in the VPME home directory.

At times, however, you may decide to create your own controls classes based on the VPM Enterprise controls classes. Perhaps, you need to subclass the VPM Enterprise controls classes to add your own functionality. You would probably choose to put your subclasses in your own class library so that when the ProMatrix Corporation updates the VPM Enterprise class libraries, your subclasses won’t be lost.

You would then want the VPM Enterprise Form and Controls Builders to use the controls classes in your new controls class library. The VPME Builders will use your controls classes (a) if you change the default controls class library to your class library on this Project Options dialog and (b) if your new controls class library meets the following requirements:

1.   Your controls class library must contain a controls class for each control you plan to use on a form.

2.   The name of a class in your controls class library must be the same as the name of the class for the control of the same type in PROCTRLS.VCX (or DEVCTRLS.VCX). For example, the name of your class for the textbox input control must be “Textbox_”, which is the name of the class for the textbox input control in PROCTRLS.VCX.

Before you create a project, you can change the controls class library that the VPME Builders use for all projects. See the New Project and ProMatrix Options in the Installation & Setup chapter to learn how.

Label Alignment

By default, when the ProMatrix builders add labels to forms, the labels are right-aligned. Check the "Left align labels" check box if you want to change the default to left-aligned for the current project.

Before you create a project, you can change the default to left-aligned for all new projects. See the New Project and ProMatrix Options in the Installation & Setup chapter.

More:

Where To Go From Here