This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

choice

<choice[N]> [text] </choice[N]>

Occurs: Only inside choicePanel

Multiple instances: Yes - within each choicePanel

Has attributes: No - but should enclose a text string

Self-closing: No

This tag sets the radio button choices in a choicePanel, where 'N' is the number of the choice, e.g. 'choice1', 'choice2', etc. If the choicePanel offers a different image for each choice selected then numbered pic tags should be used. To show only a single, unchanging, image on the panel use picture instead or omit pic/picture altogether for no image.

The default choice is set via a (previously) Set variable. If no choice is pre-set, the default is choice1.

Example:

<choice2>green</choice2> 


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Syntax Library: Tutorials, Wizards and Timelines : Tinderbox Wizards : A 'wizard.twiz' file : Wizard XML Syntax : choice