scaleHeight

Type: Real

Availability: Read or write at run time only

The scaleHeight property of the Window class contains the number of units for the internal vertical measurement of an object when using graphics methods or when positioning child controls. It also determines the units returned during the mouseDown, mouseHover, mouseLeave, mouseMove, and mouseUp events for a form or control.

Use this property with the scaleWidth property to create a custom coordinate scale for drawing or positioning controls. For example, scaleHeight := 100 defines the internal height of a form or control as 100 units, or one vertical unit as 1/100 of the height.

Use the scaleMode property to define a scale based on a standard unit of measurement; for example, twips, points, or pixels.

Setting the scaleHeight property interacts with the scaleMode property in the following ways.

The scaleHeight property is not the same as the height property.