SetPosition Method (JSlider)
Class
JSlider
.
Action
Sets the current position of the slider.
Syntax
C#
slider
.
SetPosition
(
position
)
VB
slider
.
SetPosition
(
position
)
Variable
Description
position
The current value of the slider position.
Integer
.
Examples
VB
verticalSlider.SetPosition
(10)