Navigation:  Contents > Control Properties >

ResizeFonts Property

Previous pageReturn to chapter overviewNext page

 

Returns or sets a value that determines whether the fonts (captions, text, etc.) of the controls should be resized when the controls are resized.

 

 

Syntax

 

object.ResizeFonts [=boolean]

 

Where object evaluates to an ActiveResize control.

 

 

The settings for boolean are:

 

 

True(Default). Specifies that the control's fonts should be resized when the controls are resized.
FalseSpecifies that the control's fonts should not be resized when the controls are resized.

 

Remarks

 

When the form is resized, controls captions and / or text are resized according to the Width or Height ratio of the form, whichever is smaller. For example, if the form is resized diagonally and the Width ratio (with respect to the original form Width) is 150% while the form Height ratio is 120%, all control's fonts are resized by 120%. This implementation is used to avoid clipping or wrapping of control captions or text so that fonts are displayed as properly as possible.

 

Return to Contents

 

 

Copyright 2002-2018 - VBGold Software