Control - Scale Method

Animate a change of scale

Member of Control (PRIM_CTRL)

Parameters

NameTypeData TypeDescription
ScaleWidth*InputIntegerPercentage width of the control when the animation ends
ScaleHeight*InputIntegerPercentage height of the control when the animation ends
Duration*Input (Optional)IntegerNumber of milliseconds to take to complete the animation
Delay*Input (Optional)IntegerNumber of milliseconds to wait before starting the animation

Details

Scale is an animation method that transitions a control's ScaleWidth and ScaleHeight properties from their current value to the specified value over the specified duration.
 
When the animation completes the control's ScaleHeight and ScaleWidth properties will match the specified values.
 
Like all animations, it is executed in a separate thread allowing other processing to continue.

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2