Skip to main content

TdxRichEditControlBase.WantReturns Property

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

Declaration

property WantReturns: Boolean read; write; default True;

Property Value

Type Default
Boolean True

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