up Inquisit Language Reference

textboxSize attribute

The textboxSize attribute defines the width and height of the bounding rectangle of the edit control on a textbox survey item.

Member of

<textbox>

Syntax

/ textboxSize = (width, height)

or

/ textboxSize = (widthexpression, heightexpression)

Parameters

Name Type Description
width extent The width of the textbox in pixels (default), percent, or points.
height extent The height of the textbox in pixels (default), percent, or points.
widthexpression value An expression resolving to the width of the textbox in pixels (default), percent, or points. If width is set to null and a height is specified, the width is set to the pixel size of the height.
heightexpression value An expression resolving to the height of the textbox in pixels (default), percent, or points. If height is set to null and a width is specified, the height is set to the pixel size of the width.

Remarks

The textboxSize attribute allows the edit control to be scaled to the desired size for a questionnaire, independent of the size of the entire item.

Examples

The following presents a textbox question, with the textbox sized to 200 by 100 pixels.

<textbox question1>
/ caption = "What is your name?"
/ textboxSize=(200, 100)
</textbox>

Copyright Millisecond Software, LLC. All rights reserved.