up Inquisit Language Reference

selectedIndex property

The index of the currently selected stimulus or counter item.

Member of

<counter> <html> <picture> <port> <sound> <text> <video> <xid>

Syntax

object.name.selectedIndex

Read Only

Type

integer

Remarks

None.

Examples

The following displays the value of selectedIndex in a text stimulus:

<text myText>
/ items= ("selectedIndex = <% text.myText.selectedIndex %;>")
</text>

The following displays the value of selectedIndex in an instruction page:

<page myPage>
selectedindex = <% text.myText.selectedIndex %;>
</page>

Copyright Millisecond Software, LLC. All rights reserved.