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 / Window animations
  • Animation at opening
  • Miscellaneous
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
Modifies the type and duration of animations used when opening the application windows. This function applies to all the application windows, excluding the ones with specific settings (configured in the window editor or by WinAnimationNext).
Remark: To set the animation of windows when they close, use function WinAnimationClosing.
Example
// Sélection de l'animation en ouverture
WinAnimationOpening(waRotationMulti, 200)
Open(FEN_TestAnimation)

// Désactivation
WinAnimationOpening(waNone)
Syntax
WinAnimationOpening(<Type of animation> [, <Duration> [, <Sound>]])
<Type of animation>: Constant
Type of animation to perform.
These types are classified by category and they can be combined (except for waDefault and waRandom).
  • Proposed by WINDEV:
    waDefaultDefault animation proposed by WINDEV.
    This constant cannot be combined with the other constants.
    waNoneNo animation is proposed.
    waRandomA random animation is selected by WINDEV.
    This constant cannot be combined with the other constants.
    waVistaWindows Vista animation (combination of rotation, transparency and relocation).
  • Morphing:
    waBookThe plane of the window is displayed on a book that opens.
    waCircularFadeInThe window is displayed inside a disk whose size increases.
    waFountainThe window appears bit by bit, as if coming out of a fountain.
    waInterleaveThe four corners of the window merge while inter-penetrating.
    waMorphCylinderThe plane of the window is displayed on a cylinder that slowly changes into a plane.
    waMorphSphereThe plane of the window is displayed on a sphere that slowly changes into a plane.
    waMorphWaveThe plane window is displayed on waves that fade away.
    waTopFillingThe window fills from the top to the bottom.
  • Rotation:
    waRotationMultiThe window rotates around all axes.
    waRotationXThe window quickly rotates around the X-axis.
    waRotationYThe window slowly rotates around the Y-axis.
    waZigZagZig zag effect.
  • Transparency:
    waTransparent1The window transparency changes from 30 % to 80 %.
    waTransparent2The window transparency changes from 0% to 100%.
    waTransparentFixedThe transparency remains the same (50%) during the animation.
  • Zoom:
    waZoomZoom from the position of the click to the final position (straight line and constant speed).
<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,
  • the duration in a readable format (e.g., 1 s or 10 ms).
<Sound>: Optional character string
Name of WAV file that will be played during the animation.
Remarks

Animation at opening

  • Opening animations are not blocking: initialization codes can be run in parallel.
  • The animation is performed when the window becomes visible for the first time. You have the ability to use WinAnimationNext in the initialization code of global variables followed by:
    MySelf..Visible = True

Miscellaneous

  • If a new window is opened during the animation, WINDEV waits for the end of animation before opening this new window.
  • The animation is not applied to the system windows (windows opened by fSelect, YesNo, ...).
  • WinAnimationNext has priority over WinAnimationOpening.
Component: wd300obj.dll
Minimum version required
  • Version 10
This page is also available for…
Comments
Video WinAnimationOpening
https://youtu.be/16-f14JDOzc

https://windevdesenvolvimento.blogspot.com/2019/01/dicas-1974-publica-windev-comandos-27.html


// BNT ANIMACAO

// SELECIONE A ANIMACAO
// SELECT ANIMATION
// SÉLECTIONNER L´ANIMATION

WinAnimationOpening(waCircularFadeIn,200)
// ABRE JANELA
// OPEN WINDOW
// FENÊTRE OUVERTER

Open(WIN_COMANDOS)

// FECHA ANIMACAO
// CLOSE ANIMATION
// ANIMATION PROCHE

WinAnimationOpening(waNone)
amarildo
03 Jan. 2019

Last update: 03/27/2025

Send a report | Local help