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

TcxCustomTextEdit.ClearSelection Method

In This Article

Removes the selected text from an editor.

#Declaration

Delphi
procedure ClearSelection; virtual;

#Remarks

Call this method to remove the selected text from an editor. The character starting a selection is determined via the SelStart property value. The selection length is determined via the SelLength property value. Use the Clear method instead to remove all editor text.

See Also