WebAnimator.Opacity

From Xojo Documentation

Method

WebAnimator.Opacity(Target As WebControl, OpacityPercent as Integer, Duration As Double)

New in 2010r4

Supported for all project types and targets.

Changes the opacity of the Target control to the OpacityPercent over the specified Duration.

Example

Change the opacity of a button when it is clicked:

Animator1.Opacity(Me, 30, 1)
Animator1.Play