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

FlipView

FlipView
represents an object which flips between displaying and each time it is clicked.
FlipView
cyclically flips through successive .
FlipView
makes be the object currently displayed.
  • Clicking anywhere inside a FlipView advances to the next object.
  • Shift-clicking goes to the previous object.
  • FlipView[list, Dynamic[i]] takes the displayed object to be specified by the dynamically updated current value of i, with the value of i being reset if a new object is displayed.
  • The following options can be given:
AlignmentAutomatichow to align objects in the display area
BackgroundNonebackground color to use
BaselinePositionAutomatichow to align with a surrounding text baseline
BaseStyle{}base style specifications for the FlipView
EnabledAutomaticwhether controls are enabled
FrameMarginsAutomaticmargins inside the overall frame
ImageMargins0margins around the display area
ImageSizeAutomaticthe overall image size for the display area
  • With ImageSize->All, FlipView always leaves space for the largest of the to be displayed, so that its overall size does not change.
  • The settings for BaseStyle are appended to the default style typically given by the style in the current stylesheet.
Flip between two expressions whenever one is clicked:
Flip between two expressions whenever one is clicked:
In[1]:=
Click for copyable input
Out[1]=
Flip between several expressions:
Flip between graphics or any other expressions:
By default, FlipView resizes for each pane:
With ImageSize->All, FlipView leaves enough space to display without ever resizing:
Start by displaying the third slide:
The setting is based on position:
Connect FlipView to a slider:
Center the expression:
Align the expression to several positions:
FlipView advances as the cursor moves over it:
Set background color:
Align with the surrounding text:
By default FlipView is enabled:
By setting Enabled ->False, FlipView is disabled but visible in its current state:
Add margins within the view:
Add margins outside the view:
Use ImageSize to control the width:
By setting the second element you can also control the height:
A fully custom image size:
Select a function by its graph:
Flip through the first 25 1D cellular automata behaviors:
Flip through country flags:
Flip through country shapes:
FlipView is a special form of Toggler:
Flip through different polyhedra:
New in 6