Control - ScaleWidth Property

ScaleWidth is the percentage of the width to use in the visual appearance of a control

Member of Control (PRIM_CTRL)

Data Type - Decimal


In conjunction with ScaleHeight, ScaleWidth defines the visible size of the control based on an imaginary point defined by the ScaleOriginLeft and ScaleOriginTop properties.
ScaleWidth is a percentage. The default is 100.
Scale, like Rotation, is a visual effect and does not alter the fundamental size and position of the control. The Left, Top, Height and Width properties maintain their value.
Scaled controls are clipped to ensure they fit within the bounds of their parent control.

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020