ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Animation functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 (by default): from left to right.
2: from right to left.
4: from bottom to top.
8: from top to bottom.
Example of combination:
3 (2+1): left right: progressive enlargement 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
acpDurationTime for displaying each animation drawing in milliseconds (300 ms by default).AnimationSetParameter
AnimationGetParameter
acpLoopRead the image drawings from the first drawing to the last one continuously (this parameter is set to True by default).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
animSlideDownScroll to the bottom.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: 05/26/2022

Send a report | Local help