WantReturns: Boolean;
The WantReturns property determines whether a carriage return character can be inserted in the edited text (pressing the ENTER key).
The property is set to True by default, and it is possible to insert a carriage return character.
NOTE. The OnClick event is not generated for the button on the form with the set DefaultButton property on pressing the ENTER key, if the focus is on the Memo component, and the WantReturns property is set to True.
See also: