Selbox

Selbox displays a popup windows with a list of choices (one choice per line). The user clicks on one of the lines to select his choice.

This function is only usable in Classic pages related code and is deprecated for code running in version 7 mode.

Syntax

 Selbox CHOICE_LIST Using ANSWERSelbox CHOICE_LIST Titled TITLE Using ANSWER

Examples

# Let's decide what to doLocal Integer MOOD,GOOD_REASONS,REASONLocal Char REASONS(1..20)GOOD_REASONS=func FILL_REASONS(REASONS)Selbox "Awful", "Bad", "Average", "Good", "Outstanding"& Titled "How do you feel today?" Using MOODIf MOOD<2Call BAD_MOODElseSelbox "I don't know", REASONS(1..GOOD_REASONS)& Titled "Why are you OK ?" Using REASONEndifEndif

Description

Selbox opens a popup with a list of choices. This instruction should be used only to display a box with a finite (small) list of choices.

See also

Endbox, Errbox, Infbox, Qstbox, Wrnbox