WantReturn property


Available for Edit, RichEdit and SysLink objects.

Read/Write at design time

Specifies whether a multiple-line Edit or RichEdit object inserts a carriage return when pressing the <Enter> key. It can be one of the following values:

TRUE    Edit/RichEdit object accepts carriage returns.
FALSE  Carriage return is ignored (default).


REMARKS: For this property to have effect, the
MultiLine property must be set to TRUE. This property has no effect on a single-line Edit object.