up Inquisit Language Reference

listbox element

The listbox element defines a survey item in which respondents select an option from a list.

Attributes

<listbox name>
/ listSize = (width, height)
/ listSize = (widthexpression, heightexpression)

/ other = caption
/ other = textbox

/ options = (label, label, label, ...)
/ optionValues = (value, value, value, ...)
/ order = order
/ caption = text
/ correctResponse = (character, character,...)
/ correctResponse = (scancode, scancode, ...)
/ correctResponse = (anyResponse, noResponse, ...)
/ correctResponse = (stimulusname, stimulusname, ...)
/ correctResponse = (mouseevent, mouseevent, ...)
/ correctResponse = (gamepadstickevent, gamepadevent, ...)
/ correctResponse = (joystickevent, joystickevent, ...)
/ correctResponse = (word, word, ...)
/ correctResponse = (response)
/ correctResponse = (expression, expression, ...)

/ defaultResponse = text
/ defaultResponse = integer
/ defaultResponse = expression

/ fontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ monkeyResponse = (character, character,...)
/ monkeyResponse = (scancode, scancode, ...)
/ monkeyResponse = (anyResponse, noResponse, ...)
/ monkeyResponse = (stimulusname, stimulusname, ...)
/ monkeyResponse = (mouseevent, mouseevent, ...)
/ monkeyResponse = (gamepadevent, gamepadevent, ...)
/ monkeyResponse = (joystickevent, joystickevent, ...)
/ monkeyResponse = (word, word, ...)
/ monkeyResponse = (keyword)
/ monkeyResponse = (expression, expression, ...)

/ orientation = layout
/ position = (x, y)
/ position = (xexpression, yexpression)

/ required = boolean
/ required = expression

/ responseFontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ size = (width, height)
/ size = (widthexpression, heightexpression)

/ subcaption = string
/ subcaptionFontStyle = (name, height, bold, italic, underline, strikeout, quality, characterset)
/ txColor = colorname
/ txColor = expression

/ validResponse = (character, character,...)
/ validResponse = (scancode, scancode, ...)
/ validResponse = (anyResponse, noResponse, ...)
/ validResponse = (stimulusname, stimulusname, ...)
/ validResponse = (mouseevent, mouseevent, ...)
/ validResponse = (gamepadevent, gamepadevent, ...)
/ validResponse = (joystickevent, joystickevent, ...)
/ validResponse = (word, word, ...)
/ validResponse = (keyword)
/ validResponse = (expression, expression, ...)

</listbox>

Properties

listbox.name.listHeight
listbox.name.listWidth
listbox.name.option
listbox.name.optionValue
listbox.name.selected
listbox.name.selectedCaption
listbox.name.selectedCount
listbox.name.selectedValue
listbox.name.caption
listbox.name.fontHeight
listbox.name.height
listbox.name.heightPct
listbox.name.heightPx
listbox.name.hPosition
listbox.name.required
listbox.name.response
listbox.name.responseFontHeight
listbox.name.responseText
listbox.name.subcaption
listbox.name.subcaptionFontHeight
listbox.name.vPosition
listbox.name.width
listbox.name.widthPct
listbox.name.widthPx
listbox.name.x
listbox.name.xPct
listbox.name.xPx
listbox.name.y
listbox.name.yPct
listbox.name.yPx
listbox.name.name
listbox.name.typeName

Functions

None.

Remarks

Examples

The following listbox item requires the respondent to select at least one option.

<listbox q1>
/ caption="Who was the first president of the United States:"
/ options=("George Washington", "Abraham Lincoln", "Thomas Jefferson")
/ required=true
</listbox>

Copyright Millisecond Software, LLC. All rights reserved.