WebAnimator.Move

From Xojo Documentation

Method

WebAnimator.Move(Target As WebControl, Left as Integer, Top as Integer, Duration As Double)

New in 2010r4

Supported for all project types and targets.

Moves the Target control to the Left and Top coordinates over the specified Duration.

Example

This code in the Action event of a WebButton moves the button when it is clicked:

Animator1.Move(Me, 500, 500, 0.5)
Animator1.Play