Carousel ActiveX Control

SetLeftRightDir

 

Set the speed of left/ right direction. The value from -1 to 1.

Public Function SetLeftRightDir(
 ByVal iValue As double
) as Bool 

 

Parameter
iValue
the value of left/ right direction.
-1 = left direction 100% speed
-0.5 = left direction 50% speed
-0.2 = left direction 20% speed
0 = stop
0.2 = right direction 20% speed
0.5 = right direction 50% speed
1 = right direction 50% speed


Return Value
true - successful, otherwise return false.

Example

   

Visual Basic Syntax
Carousel1.AddThumbnail "c:\yourimage.jpg"
Carousel1.SetLeftRightDir(-0.5)