RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMaskEdit.Clear Method

Sets the Text property to an empty string.

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

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. 

 

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