|
|
|
|
|
AnimationPlayOnControlProperty (Function) In french: AnimationJoueSurPropriétéChamp Animates the modification of an integer property between 2 values. For example, this function animates the modification of the X property to move a control or animates the Width property to resize a control. The animation cannot be interrupted while it is running.
AnimationPlayOnControlProperty(SAI_Détail, "Hauteur", 16, 200)
Syntax
AnimationPlayOnControlProperty(<Control> , <Property> , <Start value> , <End value> [, <Duration> [, <Type of animation>]])
<Control>: Control name Name of the control to be used. <Property>: Character string Name of the WLanguage property to animate. The properties currently available are the properties that use integers. For example: X, Y, Width, Height, Color, BackgroundColor, Opacity, ... <Start value>: Integer Initial property value. <End value>: Integer Final property value. <Duration>: Optional integer or optional Duration Duration of animation in hundredths of a second. This parameter can correspond to: - an integer corresponding to the number of hundredths of a second,
- a Duration variable,
- duration in a readable format (e.g., '1s' or '10ms').
<Type of animation>: Optional Integer constant Characteristics of the animation to play. The possible values are: | | animAcceleration | The animation will be played faster and faster. | animDeceleration | The animation will be played slower and slower. | animLinear | The speed of the animation will be constant. |
Remarks Operating mode The property goes from <Start value> to <End value> during the specified <Duration>. The different steps are displayed to the user. Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|