up Inquisit Language Reference

widthpx property

The display width of the item in pixels.

Member of

<button> <caption> <checkboxes> <clock> <display> <dropdown> <image> <instruct> <listbox> <openended> <picture> <radiobuttons> <shape> <slider> <slidertrial> <text> <textbox> <video>

Remarks

Use the widthpx attribute to get the width in pixels.

Examples

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

<text sometext>
/ items= ("width = <% text.foo.widthpx %>")
</text>

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

<page somepage>
width = <% defaults.widthpx %>
</page>

Send comments on this topic:
Copyright Millisecond Software, LLC. All rights reserved.