MultiLine Property

Applies To
TextBox

Description
Gets or sets a value indicating whether this is a multiline TextBox control.

Usage

GGet Form.Control.MultiLine, var  
GSet  Form.Control.MultiLine, value  
Form
Name of a form or string variable containing a form name.
Control
Name of a control or string variable containing a control name. The control must exist in the specified form.
var
Boolean variable that will contain the value of the property.
value
Boolean expression for the new value of the property.

Values
False
True
Default: False

Remarks
If you want to display multiple lines in a TextBox control, you must set MultiLine to True.

See Also
TextBox, ScrollBars

Example

GSet frmMain.txtStatus.MultiLine, True