Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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