Mask

Mask as String

Set this property in the Open event of the Control.

Supported mask Meta characters:
# - Number
? - Any character
$ - Character A-Z or a-z (regular English alphabet)
\ - Forces next character in the mask to be a constant.
This is useful for example if you need to put # as a mask
constant which normally is a reserved meta character,
then you could do it by putting \# in the mask.

Everything else in the Mask will be used as a constant in the
edit field.

For example:
### cm
Will allow 3 number characters, and after that
a constant space and cm will be displayed in the
edit field. (The user cannot change such constant).

\$##
Will display a $ sign and allow for 2 number characters
after the $ sign.


Notes:
The Text in the MaskEditField should be empty when the Mask property is set.

The Mask property is only a input filter, it does not in any way attempt to filter when is set explicitly with the Text property with programming code.