RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomMaskEdit.MaskState Property

Indicates state information about how the mask is being applied.

Pascal
property MaskState: TMaskedState;
C++
__property TMaskedState MaskState;

MaskState is used internally to determine appropriate actions based on how the mask is currently being applied. MaskState is a set drawn from among the following values:

Value 
Meaning 
msMasked  
A mask has been assigned. MaskState includes msMasked when IsMasked is true.  
msReEnter  
An invalid character has been rejected and the next edit should be a valid replacement character.  
msDBSetText  
The text comes from a database field and should not be validated.  

MaskState is exposed as a protected property so that derived classes can maintain and use this state information in the implementation of properties and methods. 

 

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