Useful Control Class Properties

Controls based on the VPM Enterprise control classes contain the useful properties described in the following subsections.

Controlling a Controlís Width - lOverrideWidth

When you run a VPM Enterprise Form, the width of data-bound controls is adjusted to match the fieldís width as stored in the Data Builder.

If you do not want the width of data-bound controls to be adjusted to match the field width as stored in the Data Builder, set the controlís lOverrideWidth property to .T.. A setting of .T. will allow you to manually adjust a controlís width, and the next time you run the form, your manual adjustment wonít be overriden.

Controlling a Labelís Caption - lOverrideCaption

When you run a VPM Enterprise Form, the caption of the label associated with a field is pulled from the fieldís Description (Long) property in the Data Builder.

If you do not want the label caption to be pulled from the Data Builder, set the Label controlís lOverrideCaption property  to .T. A setting of .T. will allow you to manually enter a caption in the Labelís Caption property, and the next time you run the form, your caption wonít be overriden.

More:

How to Filter Validation and Picklist Cursors