This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

VerticalSlider

VerticalSlider[y]
represents a vertical slider at position y with range 0 to 1.
VerticalSlider[Dynamic[y]]
takes the position to be the dynamically updated current value of y, with the value of y being reset if the slider is moved.
VerticalSlider
represents a vertical slider with range to .
VerticalSlider
represents a vertical slider that jumps in steps dy.
VerticalSlider
represents a slider in which equally spaced intervals correspond to successive settings .
VerticalSlider
uses intervals of relative heights for the .
  • VerticalSlider[...] displays in a notebook as a vertical slider that can be manipulated interactively.
  • VerticalSlider[y] represents a slider running from value 0 at the bottom to value 1 at the top.
  • VerticalSlider with represents a slider running from value at the top to value at the bottom. »
  • If the value of the slider is outside the range given, it will be displayed at one of the ends.
  • VerticalSlider displays at position y, even if this is not a multiple of dy.
  • The following options can be given:
AppearanceAutomaticthe overall appearance of the slider
AutoActionFalsewhether to move the slider automatically when the mouse is over it
BaselinePositionAutomaticalignment relative to surrounding text
BaseStyle{}base style specifications for the slider
ContinuousActionTruewhether to update continuously when the slider is moved
EnabledAutomaticwhether the slider is enabled, or grayed out
ImageMargins0margins around the image of the displayed slider
ImageSizeAutomaticthe overall image size of the displayed slider
  • The settings for BaseStyle are appended to the default style typically given by the style in the current stylesheet.
A vertical slider set at 0.8 in the default range 0 to 1:
Dynamically change the value of :
A vertical slider set at 0.8 in the default range 0 to 1:
In[1]:=
Click for copyable input
Out[1]=
 
Dynamically change the value of :
In[1]:=
Click for copyable input
Out[1]=
Specify integer values only:
Use the range to , increasing when going from bottom to top:
A vertical slider with range to , increasing when going from top to bottom:
Use rational steps:
Use increments of :
Different appearance sizes:
Different appearance for the slider thumb:
Change the value by moving the mouse over the slider area:
Change the background color:
Change the background color dynamically:
Align with surrounding text:
By default, variables are continuously updated:
Setting ContinuousAction to False updates the variable only when the slider is released:
By default, VerticalSlider is enabled:
By setting Enabled->False, the slider is disabled but visible in its current state:
Exclude values from the range of the slider:
Add margins to the slider area:
Use preset values:
Use any height value and default width:
A fully customized image size:
A color selector:
VerticalSlider is equivalent to Slider with a vertical appearance:
New in 6