Control

Slider ActiveX control - version 5.0

File

COMCTL32.OCX

Panel control name

Slider1

Script

Code

Display About box

Slider1.AboutBox

Events

Sub Slider1_Change
&(1:) = Slider1.Value
Ad.LogicalEvent("Slider1Changed")
End Sub
Sub Slider1_Scroll
&(1:) = Slider1.Value
Ad.LogicalEvent("Slider1Scroll")
End Sub
Parameters:
&(1:)=Integer - Current value set by the slider

Refresh

Slider1.Refresh

Set Large Change

Slider1.LargeChange = &(1:)
Parameters:
&(1:)=Integer - the value of a large change

Set Maximum Value Slider1.Max = &(1:)
Parameters:
&(1:)=Integer - the value of a largest value
Set Minimum Value Slider1.Min = &(1:)
Parameters:
&(1:)=Integer - the value of a smallest value

Set Small Change

Slider1.SmallChange = &(1:)
Parameters:
&(1:)=Integer - the value of the current slider position