Multiline

This property determines whether the data in the widget is displayed on more than one line, and whether carriage returns can be used when entering data.

Multiline="True | False"

Value

Description

True

The widget can be longer than one line and carriage returns are allowed.

False

The widget is a single line.

Usage

Dynamic?

Yes

Supported in Grid?

No

Dependencies:

None

Description

Vertical or horizontal scroll bars are displayed for a multiline widgets only if the Vertical Scroll Bar and Horizontal Scroll Bar properties are selected

When Multiline is True, the user can enter carriage returns. However, to have data automatically wrap to the next line, the Automatic Word Wrap property must also be True.

The No Display (NDI) syntax definition is not supported in a multiline widgets.

Setting in ProcScript

The Multiline property is not dynamic, and can only be set in ProcScript before the form is displayed (for example, by the edit or display statement in the exec operation). For example:

operation exec
   $properties(FLD1) = "multiline=false"
   edit
end; exec