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.

Sample Code

Change the opacity of a button when it is clicked:

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