RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TMaskEdit.EditMask Property

Specifies the mask that represents what text is valid for the masked edit control.

Pascal
property EditMask: TEditMask;
C++
__property TEditMask EditMask;

Use EditMask to restrict the characters a user can enter into the masked edit control to valid characters and formats. If the user attempts to enter an invalid character, the edit control does not accept the character. Validation is performed on a character-by-character basis by the ValidateEdit method.  

Setting EditMask to an empty string removes the mask. 

 

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