|
|
|
|
|
- Changing the type of animation
- Stopping or restarting an animation
- Images that use an animated format
AnimationSetMode (Function) In french: AnimationChangeType Changes the type of animation: - for an image in an Image control.
- for a text in a Static control.
New in version SaaS // Changes the animation of the IMG_Image1 control IMG_Image1.Animation = True AnimationSetMode(IMG_Image1, actScrolling)
STC_MyStatic.Animation = True
AnimationSetMode(STC_MyStatic, actBlinking)
AnimationSetParameter(STC_MyStatic, acpDuration, 100)
AnimationSetParameter(STC_MyStatic, acpColor, DarkBlue)
Syntax
AnimationSetMode(<Control used> , <Type of animation>)
<Control used>: Control name Name of the image control or static control to use. <Type of animation>: Constant or character string Animation to perform.
| | actBlinking (or "Blinking") | The static is alternately displayed in its default color and in its flashing color. | actScrolling (or "Scrolling") | The image (or the text) is displayed progressively, from the right, from the left, and so on.
| actWinDevAnimation (or "Image to animate") | The image is divided into several drawings. Each drawing is displayed successively, giving an illusion of video. This constant can only be used with Image controls.
|
Remarks Changing the type of animation If the new type corresponds to the current type, the parameters specific to this type are re-initialized with the default parameters. Stopping or restarting an animation The animation can be enabled or disabled with the Animation property.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|