Show: Delphi C++
Display Preferences

Vcl.StdCtrls.TCustomEdit.Clear

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure Clear; virtual;

C++

virtual void __fastcall Clear();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.StdCtrls.pas
Vcl.StdCtrls.hpp
Vcl.StdCtrls TCustomEdit

Description

Deletes all text from the 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

Code Examples


Personal tools
In Other Languages
Previous Versions
Assistance