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:

Wolfram Research (2007), FlipView, Wolfram Language function, https://reference.wolfram.com/language/ref/FlipView.html (updated 2008).

Text

Wolfram Research (2007), FlipView, Wolfram Language function, https://reference.wolfram.com/language/ref/FlipView.html (updated 2008).

BibTeX

@misc{reference.wolfram_2021_flipview, author="Wolfram Research", title="{FlipView}", year="2008", howpublished="\url{https://reference.wolfram.com/language/ref/FlipView.html}", note=[Accessed: 04-August-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_flipview, organization={Wolfram Research}, title={FlipView}, year={2008}, url={https://reference.wolfram.com/language/ref/FlipView.html}, note=[Accessed: 04-August-2021 ]}

CMS

Wolfram Language. 2007. "FlipView." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2008. https://reference.wolfram.com/language/ref/FlipView.html.

APA

Wolfram Language. (2007). FlipView. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FlipView.html