RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Mask.TMaskedState Type

TMaskedState is a set of flags that describe the current state of a masked edit control.

Pascal
TMaskedState = set of (msMasked, msReEnter, msDBSetText);
C++
(msMasked, msReEnter, msDBSetText) TMaskedState;

The following table indicates the meaning of the various TMaskedState flags:

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!