|
|
|
|
|
AnimationSetParameter (Function) In french: AnimationChangeParamètre Changes one of the animation parameters used for: - an animated image (in an Image control),
- an animated text (in a Static Text control).
New in version 2025
STC_MyStatic.Animation = True
AnimationSetMode(STC_MyStatic, actBlinking)
AnimationSetParameter(STC_MyStatic, acpDuration, 100)
AnimationSetParameter(STC_MyStatic, acpColor, DarkBlue)
Syntax
Changing the animation parameters of a static control Hide the details
AnimationSetParameter(<Static Text control> , <Parameter to modify> , <Parameter value>)
<Static Text control>: Character string Name of the Static Text control to be used. <Parameter to modify>: Constant or character string Name of parameter to modify. | | acpColor (or "Color") | Blinking color. This parameter can correspond to a color constant. This color corresponds to Transparent by default. "Blinking" animation only. | acpDirection (or "Direction") | Scroll direction. "Scrolling" animation only. These parameters cannot be combined.- 1 (default): dequeue to the left
- 2: Dequeue to the right
- 4: scroll down
- 8: scrolls upwards
| acpDuration (or "Duration") | Time for displaying each animation element in milliseconds (300 ms by default). | New in version 2025acpLoop (or "Loop") | Dequeue continuously (this parameter is True by default). "Scrolling" animation only. Note: This feature is only available from version 2025 Update 1. | New in version 2025acpNbLoopMax (or "NombreBoucleMax") | Number of loops for continuous dequeue (0 unlimited number of loops). "Scrolling" animation only. Note: This feature is only available from version 2025 Update 1. | acpNbPixel (or "NumberOfPixels") | Number of pixels for each scrolling step. "Scrolling" animation only. |
<Parameter value>: Type of expected parameter New value for the parameter.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|