scaleForm

Type: Boolean

Availability: Development only

The scaleForm property of the Form class specifies whether the form and all of its contents are scaled to match the current font-scaling attribute of the workstation environment (set from the Control Panel Display option font size). The default value is true.

When this property is set to the default value of true, the font-scaling attribute of the workstation is saved with the form. When the form is next loaded, the scaling of the workstation that is running the form is compared. If the font scaling is different, the form and all of its controls are scaled according to the different font scaling environment, thus preserving the layout of the form.

Changing this property has no effect after the affected form has been built.