[Overview][Constants][Types][Classes][Procedures and functions][Index] | Reference for unit 'MaskEdit' (#lcl)

# tMaskedType

Enumeration with values representing mask character types.

## Declaration

Source position: maskedit.pp line 101

`type tMaskedType = (`
`Char_Invalid,`
`Char_IsLiteral,` |  | Character is a literal.
`Char_Number,` |  | Character is an optional numeric value 0..9.
`Char_NumberFixed,` |  | Character is a required numeric value 0..9.
`Char_NumberPlusMin,` |  | Character is an optional numeric value 0..9, +, -
`Char_Letter,` |  | Character is an optional alphabetic value.
`Char_LetterFixed,` |  | Character is a required alphabetic value.
`Char_LetterUpCase,` |  | Character is an optional uppercase alphabetic value.
`Char_LetterDownCase,` |  | Character is an optional lowercase alphabetic value.
`Char_LetterFixedUpCase,` |  | Character is a required uppercase alphabetic value.
`Char_LetterFixedDownCase,` |  | Character is a required lowercase alphabetic value.
`Char_AlphaNum,` |  | Character is an optional alphabetic or numeric value.
`Char_AlphaNumFixed,` |  | Character is a required alphabetic or numeric value.
`Char_AlphaNumUpCase,` |  | Character is an optional uppercase alphabetic or numeric value.
`Char_AlphaNumDownCase,` |  | Character is an optional lowercase alphabetic or numeric value.
`Char_AlphaNumFixedUpCase,` |  | Character is a required uppercase alphabetic or numeric value.
`Char_AlphaNumFixedDownCase,` |  | Character is a required lowercase alphabetic or numeric value.
`Char_All,` |  | Any optional UTF-8 character.
`Char_AllFixed,` |  | Any required UTF-8 character.
`Char_AllUpCase,` |  | Any optional uppercase UTF-8 character.
`Char_AllDownCase,` |  | Any optional lowercase UTF-8 character.
`Char_AllFixedUpCase,` |  | Any required uppercase UTF-8 character.
`Char_AllFixedDownCase,` |  | Any required lowercase UTF-8 character.
`Char_HourSeparator,` |  | Character is the time separator character.
`Char_DateSeparator,` |  | Character is the date separator character.
`Char_Hex,` |  | Character is an optional hexadecimal digit.
`Char_HexFixed,` |  | Character is a required hexadecimal digit.
`Char_HexUpCase,` |  | Character is an optional uppercase hexadecimal digit.
`Char_HexDownCase,` |  | Character is an optional lowercase hexadecimal digit.
`Char_HexFixedUpCase,` |  | Character is a required uppercase hexadecimal digit.
`Char_HexFixedDownCase,` |  | Character is a required lowercase hexadecimal digit.
`Char_Binary,` |  | Character is an optional binary value 0..1.
`Char_BinaryFixed,` |  | Character is a required binary value 0..1.
`Char_Set,`
`Char_SetFixed,`
`Char_SetNegateFixed`
`);`

## Description

TMaskType is an enumerated type which contains values representing mask character types used in TCustomMaskEdit and TMaskEdit. Mask character types control the letters, numbers, literals, space characters, and trimming options allowed for each position in a masked edit control.

TMaskType values are stored in the TInternalMask type, and used in the implementation of TCustomMaskEdit.

## See also

TInternalMask |  | Array type used to represent edit mask symbols in TCustomMaskEdit.
TCustomMaskEdit.EditMask |  | Contains the mask characters classes and literals used to format/obscure the value for the control.