See Also
Applies To
Text box.
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 ScrollBars 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
Integer (Boolean)
Help:
Default Property
ScrollBars Property
Programmer's Guide:
Chapter 3, "Creating and Using Controls"