Sign in Join
FPDoc Onlineexperiment

TMemo.WantReturns property

Member of TMemopublishedIn unit StdCtrls

Allows the user to insert Return characters (line breaks) into the text.

Declaration

pascal
property WantReturns:;

Description

The Enter key is normally used to press the default button in a form, so it cannot be used to add line breaks into the text by default. Set WantReturns to True to allow line breaks to be entered using Enter when the control has the input focus. Ctrl+Enter can be used to insert a line break, even if WantReturns is set to False.

This description is the one of StdCtrls.TCustomMemo.WantReturns.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.