NIPO ODIN Version 5.17

*SIZE

System

NIPO CATI / NIPO CAPI only

Purpose

Determines the size of the open-ended answer box in *OPEN and *OPEN *BMP questions and the size of check-boxes in a *SCALE or *GRID question.

Syntax

*SIZE x y
*SIZE expression1 [expression2]

Description

This command is always used in combination with *QUESTION and must be specified after this command on the same line. In case of an *OPEN question it defines the size of the answer (text or bitmap) box, in case of a *SCALE, *GRID or *FORM question it defines the size of the check-boxes.

In NIPO CATI, you can set the width and the height of fully open-ended answer text and bitmap (*OPEN *BMP) boxes. The size of a semi open-ended answer box (which uses a dialog box) can not be altered using *SIZE.

In NIPO CAPI, you can use *SIZE to set the width and height of fully and semi open-ended text answer boxes. However for a fully open-ended bitmap (*OPEN *BMP) answer box you can only set the height; the width parameter is ignored. For semi-open-ended bitmap answer boxes you can set both the width and the height.

The default height for a fully open-ended bitmap answer in NIPO CAPI is set to half the application window.

In both NIPO CATI and NIPO CAPI, NIPO ODIN enforces a minimum size for the open-ended answer boxes. Values below the minimum are set to the minimum.

Arguments

x
The horizontal size of the appropriate object. The size is specified in tenths of points (1 point is approximately 1/72 of an inch). May be specified as an expression.

y
The vertical size of the appropriate object. The size is specified in tenths of points (1 point is approximately 1/72 of an inch). May be specified as an expression.

If only one parameter is provided, the following rules apply:

  • In a fully open-ended bitmap answer (*OPEN *BMP) in NIPO CAPI, using a single parameter sets the height of the input box. The width of the input box is always set to the width of the application window. Note that this does not apply to text open-ended answer boxes.
  • In all other cases, a single parameter sets the width of the open-ended answer box only.

Example 1

*QUESTION 1 *OPEN L11 *MULTI *SIZE 3000 1000
What reasons did you have to sell your car?

Result:

Embedded PNG Image Template (Styled)

Example 2

*TAB 40,50,60,70,80,90

*QUESTION 1 *FORM *SIZE 200 200
Please indicate how much you agree or disagree with the following statements:

agree disagree

1: Coca Cola is tasteful *SCALE L1 5 10

2: Coca Cola is expensive *SCALE L1 5 10

3: Coca Cola is modern *SCALE L1 5 10

Result:

Embedded PNG Image Template (Styled)

Example 3

*QUESTION 1 *OPEN L11 *MULTI *SIZE 1500
What reasons did you have to sell your car?

Result in NIPO CAPI:

Embedded PNG Image Template (Styled)

See Also