ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Animation functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The following constants are used by the functions for animation management:
ConstantDescriptionUsed by the functions
acpColorBlinking color. Can correspond to a color constant. This color corresponds to Transparent by default.
"Flashing" animation only.
AnimationSetParameter
AnimationGetParameter
acpDirectionScroll direction. "Scrolling" animation only.
These parameters can be combined.
1 (default): left to right.
2: right to left.
4: from bottom to top.
8: top to bottom.
Example of combination:
3 (2+1): left right: gradual widening from the center.
5 (4+1) from bottom to top and from right to left.
AnimationSetParameter
AnimationGetParameter
acpDirectionAlternateRead the image drawings from the first drawing to the last one, then from the last drawing to the first one continuously (this parameter is set to False by default).AnimationSetParameter
AnimationGetParameter
acpDurationAmount of time for displaying each drawing of the animation in milliseconds (300 ms by default).AnimationSetParameter
AnimationGetParameter
acpLoop
  • Image animation: Continuous playback of image drawings from the first to the last (this parameter is True by default).
  • New in version 2025
    Label animation: Text dequeues in a loop.
    Note: This feature is only available from version 2025 Update 1.
AnimationSetParameter
AnimationGetParameter
New in version 2025
acpNbBoucleMax
Maximum number of loops when dequeueing a label.
"Scrolling" animation only.
Note: This constant is only available from version 2025 Update 1.
AnimationSetParameter
AnimationGetParameter
acpNbImageXNumber of drawings found in the width of image file. Depending on the specified number, the image will be automatically divided into as many drawings as necessary (1 by default).
"Image to animate" animation only.
AnimationSetParameter
AnimationGetParameter
acpNbImageYNumber of drawings found in the height of image file. Depending on the specified number, the image will be automatically divided into as many drawings as necessary (1 by default).
"Image to animate" animation only.
AnimationSetParameter
AnimationGetParameter
acpNbPixelNumber of pixels for each scrolling step.
"Scrolling" animation only.
AnimationSetParameter
AnimationGetParameter
acpNbStep10 by default
"Scrolling" animation only.
AnimationSetParameter
AnimationGetParameter
acpReverseRead the image drawings from the last drawing (bottom right) to the first drawing (top left) (this parameter is set to False by default).AnimationSetParameter
AnimationGetParameter
actBlinkingThe caption is alternately displayed in its default color, then in its flashing color.AnimationSetMode
actScrollingThe image is displayed progressively, from the right, from the left, etc.AnimationSetMode
actWinDevAnimationThe image is divided into several drawings. Each drawing is displayed successively, giving an illusion of video.AnimationSetMode
animAccelerationThe animation will be played faster and faster.AnimationPlayOnControlProperty
animCoverDownThe new element appears from the top and covers the initial element.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible
animCoverFromCenterThe new element appears from the center and covers the initial element.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible
animCoverFromCornersThe new element appears from the corners and covers the initial element.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible
animCoverLeftThe new element appears from the right and covers the initial element.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible
animCoverRightThe new element appears from the left and covers the initial element.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible
animCoverUpThe new element appears from the bottom and covers the initial element.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible,
PopupAnimate
animDecelerationThe animation will be played slower and slower.AnimationPlayOnControlProperty
animFadeInFade-in animation.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible
animFlipAxisXFlip around the horizontal axis.AnimationPlay
animFlipAxisYFlip around the vertical axis.AnimationPlay
animFlipDownwardDiagonalFlip around the diagonal that goes from the top left to the bottom right.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible
animFlipUpwardDiagonalFlip around the diagonal that goes from the top right to the bottom left.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible
animLinearThe speed of the animation will be constant.AnimationPlayOnControlProperty
animShrinkAndCoverFromCornersThe initial element shrinks and the new element appears from the corners.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible
animSlideDownScrolling vers le bas.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible
animSlideLeftSlide left.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible,
PopupAnimate
animSlideRightSlide right.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible,
PopupAnimate
animSlideUpSlide up.AnimationPlay,
ControlEnabled,
ControlGrayed,
ControlInvisible,
ControlVisible
animUncoverDownScrolling to the bottom of previous content while the popup is unveiled.PopupAnimate
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/25/2025

Send a report | Local help