Vcl.Forms.TCustomActiveForm.Scaled

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Scaled: Boolean read GetScaled write SetScaled stored IsForm default 1;

C++

__property Scaled = {default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.Forms.pas
Vcl.Forms.hpp
Vcl.Forms TCustomActiveForm

Description

Specifies whether the form is sized according to the value of the PixelsPerInch property.

Vcl.Forms.TCustomActiveForm.Scaled inherits from Vcl.Forms.TCustomForm.Scaled. All content below this line refers to Vcl.Forms.TCustomForm.Scaled.

Specifies whether the form is sized according to the value of the PixelsPerInch property.

Scaled determines whether the form adjusts itself to differences between the font used at design time and the current system font used by a system at runtime. If Scaled is true, the form resizes itself and all its child controls to maintain the relationship between the size of controls and the height of text displayed in the default font. If Scaled is false, no such resizing occurs.

By setting Scaled to true, the form can adjust to fonts that are not scalable (that is, fonts that only supply discrete point sizes) or to differences such as forms designed using small fonts at design time that are run on systems that use large fonts.

The degree of resizing is determined by the PixelsPerInch property, which measures the proportion of the font on the system used when designing the form.

See Also