Back to Devexpress

TdxRichEditControlBase.WantReturns Property

vcl-dxrichedit-dot-control-dot-core-dot-tdxricheditcontrolbase-0e34fe16.md

latest1.2 KB
Original Source

TdxRichEditControlBase.WantReturns Property

Specifies if an end user can press the Enter key to insert caret return characters into text.

Declaration

delphi
property WantReturns: Boolean read; write; default True;

Property Value

TypeDefault
BooleanTrue

Remarks

An Enter keystroke inserts a caret return character into an open document at the caret position. Set the WantReturns property to False to allow the application form to process Enter keystrokes rather than the Rich Edit control. An end user can press the Ctrl+Enter key combination instead of the Enter key to insert a caret return character in this mode.

The WantReturns property’s default value is True.

See Also

TdxRichEditControlBase

TdxRichEditControlBase.WantTabs

TdxRichEditControlBase Members

dxRichEdit.Control.Core Unit