Vcl.Mask.TCustomMaskEdit.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.Mask.pas
Vcl.Mask.hpp
Vcl.Mask TCustomMaskEdit

Description

Sets the Text property to an empty string.

Use Clear to remove all text that was entered into the masked edit control. Clear sets the value of Text to an empty string. It does not clear the EditMask. If the edit control has a mask, EditText is not empty, but has all non-literal characters replaced by blanks.

See Also