From Xojo Documentation
Supported PlatformsProject Types: Web Platforms: macOS, Windows, Linux
New in 2010r5
Used in web applications to move, resize, rotate, scale and change the opacity of other controls at runtime. If the browser supports 2D and/or 3D hardware acceleration, then the WebAnimator will use that at runtime.
The animations themselves run locally in the web browser.
Animations do not start until you call the Play method.
An end-user does not see or interact with a WebAnimator control.
This code resizes a button when it is clicked:
This code moves a button down 100 pixels, then back up again over 2 seconds.
Animator1.Move(Button1, Button1.Left, Button1.Top - 100, 1)
- Example Projects/Web/Graphics/Animator/Animator