FlipView

FlipView[{expr1,expr2}]

represents an object which flips between displaying expr1 and expr2 each time it is clicked.

FlipView[{expr1,expr2,}]

cyclically flips through successive expri.

FlipView[{expr1,expr2,},i]

makes expri be the object currently displayed.

Details and Options

Examples

open allclose all

Basic Examples  (1)

Flip between two expressions whenever one is clicked:

Scope  (6)

FlipView Content  (3)

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:

FlipView Control  (3)

Start by displaying the third slide:

The setting is based on position:

Connect FlipView to a slider:

Options  (10)

Alignment  (1)

Center the expression:

Align the expression to several positions:

AutoAction  (1)

FlipView advances as the cursor moves over it:

Background  (1)

Set background color:

BaselinePosition  (1)

Align with the surrounding text:

Enabled  (1)

By default FlipView is enabled:

By setting Enabled ->False, FlipView is disabled but visible in its current state:

FrameMargins  (1)

Add margins within the view:

ImageMargins  (1)

Add margins outside the view:

ImageSize  (3)

Use ImageSize to control the width:

By setting the second element you can also control the height:

A fully custom image size:

Applications  (3)

Select a function by its graph:

Flip through the first 25 1D cellular automata behaviors:

Flip through country flags:

Flip through country shapes:

Properties & Relations  (1)

FlipView is a special form of Toggler:

Neat Examples  (1)

Flip through different polyhedra:

Introduced in 2007
 (6.0)
 |
Updated in 2008
 (7.0)