Opening and closing windows with an animated effect

You can use a special effect when a window opens or closes. Effects include fading in or out, opening from the center, and sliding or rolling from the top, bottom, left, or right. Set the AnimationTime property to between 1 and 5000 milliseconds to specify how long the animation effect takes to complete.

For example, if your application displays a splash screen while the application’s main window is initializing, you can set the CloseAnimation property to have the window fade out rather than just disappearing when the application is initialized or after a timeout:

w_splash.CloseAnimation = FadeAnimation!

For more information, see the OpenAnimation , CloseAnimation, and AnimationTime properties for the Window control in Objects and Controls or the online Help.