RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomRichEdit.Clear Method

Deletes all text from the rich edit control.

Pascal
procedure Clear; override;
C++
virtual __fastcall Clear();

Use Clear to replace the Text property with an empty string. Clear removes all text, not just the selected text. To remove just the selected text, use ClearSelection. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!