Home > Language Reference > Classes > Field

SingleLine Property

Indicates if the field can contain several lines of text.

Syntax

Public Property Get SingleLine() As Boolean

Remarks

When the SingleLine property is set to True, the control only displays one line of text. Carriage returns are ignored, and the text is not scrollable. On the other hand, when this property is set to False, carriage returns are correctly interpreted and the text is scrollable.

This property does not affect the appearance of the control. It is possible to set this property to False even when the size of the control only allows one line to be displayed.

This property is read-only at runtime. You can only modify its value at design time using the Property Window in the development environment.

System requirements

SystemMinimal versionRemarks
Palm OSPalm OS 3.0N/A