Vcl.ComCtrls.TCustomRichEdit.Clear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Clear; override;

C++

virtual void __fastcall Clear();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomRichEdit

Description

Deletes all text from the rich edit control.

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.

See Also