PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Plays an animation when a control, a group of controls or a window is modified.
The principle is as follows:
  1. Using AnimationPrepare.
  2. Modifying the controls by programming (fill, move, change of plane, ...). These modifications are not displayed. These modifications will be displayed when AnimationPlay is used.
  3. Using AnimationPlay. This function is used to switch from the "before modification" status to the "after modification" status by playing an animation.
Versions 18 and later
Android This function is now available for the Android applications.
New in version 18
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Example
// Prepare the animation
AnimationPrepare(WIN_Customer, Details..X, Details..Y, Details..Width, ...
Details..Height)
// Modify the controls
BTN_Down..Visible = False
Detail..Height += 50
WIN_Customer..Plane--
// Performs the modifications and plays the animation
AnimationPlay(animFadeIn)
Syntax
AnimationPlay(<Type of Animation> [, <Animation Duration>])
<Type of Animation>: Integer constant
Type of animation to play:
animScrollBottomScroll to the bottom.
animScrollRightScroll to right.
animScrollLeftScroll to left.
animScrollTopScrolling to the top.
Versions 19 and later
animFlipAxisX
New in version 19
animFlipAxisX
animFlipAxisX
Flip around the horizontal axis.
Android This constant is not available.
Versions 19 and later
animFlipAxisY
New in version 19
animFlipAxisY
animFlipAxisY
Flip around the vertical axis.
Android This constant is not available.
animFlipDownwardDiagonalFlip around the diagonal from the top left point to the bottom right point.
Versions 18 and later
Android This constant is not available.
New in version 18
Android This constant is not available.
Android This constant is not available.
animFlipUpwardDiagonalFlip around the diagonal from the top right point to the bottom left point.
Versions 18 and later
Android This constant is not available.
New in version 18
Android This constant is not available.
Android This constant is not available.
animFadeInFade-in animation.
animOverlap4CornerThe image is displayed from the 4 corner while the previous status is overlapped.
Versions 18 and later
Android This constant is not available.
New in version 18
Android This constant is not available.
Android This constant is not available.
animOverlapBottomScrolling to the bottom while the previous status is overlapped.
animOverlapRightScrolling to the right while the previous status is overlapped.
animOverlapLeftScrolling to the left while the previous status is overlapped.
animOverlapTopScrolling to the top while the previous status is overlapped.
animOverlapZoomNew status appearing from the center with a zoom effect while the previous status is overlapped.
Versions 18 and later
Android This constant is not available.
New in version 18
Android This constant is not available.
Android This constant is not available.
animShrinkThen4CornerThe previous status is shrunk then the new status is appearing from the 4 corners.
Versions 18 and later
Android This constant is not available.
New in version 18
Android This constant is not available.
Android This constant is not available.
<Animation 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,
  • Versions 23 and later
    the duration in clear ('1cs' or '10 ms' for example).
    New in version 23
    the duration in clear ('1cs' or '10 ms' for example).
    the duration in clear ('1cs' or '10 ms' for example).
We recommend that you use a short duration (up to 1 second).
The application is locked as long as the animation is not over. If the user clicks or preses a key, the animation is stopped and the controls are displayed in their final status.
Note: The number of images played is adjusted according to the speed of the computer. Below a given number of images per second, the image is too jerky and the animation is canceled. The number of images per second is configured by AnimationMinFPS.
Remarks
  • An error occurs if AnimationPrepare is called twice without a call to AnimationPlay.
  • To avoid slowing down the window opening, AnimationPrepare and AnimationPlay have no effect when they are used in the initialization process of the window.
  • AnimationPrepare and AnimationPlay have no effect:
    • if "Enable the animation of controls on the project" is not checked. This option is available in the description window of the project, "Advanced" tab, "Animation of controls" button.
    • or if AnimationEnabled was not called to enable the animations.
Components
WINDEVReports and Queries wd230obj.dll
Android wd230android.jar
Minimum required version
  • Version 14
This page is also available for…
Comments
Click [Add] to post a comment