MultiLine Property

See Also77B68BK

Applies To

Text boxYPYZDG.

Description

Specifies whether a text box can accept and display multiple lines of text; read-only at run time.

Usage

[form.]textbox.MultiLine

Setting

The MultiLine property settings are:

Setting             Description

 

True                Allows multiple lines of text.

False               (Default) Ignores carriage returns and restricts data to a single line.

 

Remarks

A multiline text box wraps text as the user types text extending beyond the display area.

You can also add scroll bars to larger text boxes using the ScrollBars1V1TUSJ property.  If no horizontal scroll bar is specified, the text in a multiline text box automatically wraps.

 

Note   On a form with no default button, pressing Enter in a multiline text box moves the focus to the next line.  If a default button exists, you must press Ctrl+Enter to move to the next line.

 

Data Type

IntegerDOKXHY (Boolean)


See Also

Help:

Default Property31OHP7N

ScrollBars Property1V1TUSJ

 

Programmer's Guide:

Chapter 3, "Creating and Using Controls"