Skip to content

tMaskedType

Type describing special mask characters.

Declaration

Source position: maskutils.pp line 50

type
  tMaskedType = (Char_Start,Char_Number,Char_NumberFixed,
               Char_NumberPlusMin,Char_Letter,Char_LetterFixed,
               Char_LetterUpCase,Char_LetterDownCase,
               Char_LetterFixedUpCase,Char_LetterFixedDownCase,
               Char_AlphaNum,Char_AlphaNumFixed,Char_AlphaNumUpCase,
               Char_AlphaNumDownCase,Char_AlphaNumFixedUpCase,
               Char_AlphaNumFixedDownCase,Char_All,Char_AllFixed,
               Char_AllUpCase,Char_AllDownCase,Char_AllFixedUpCase,
               Char_AllFixedDownCase,Char_HourSeparator,
               Char_DateSeparator,Char_Stop)

Values

Value Description
Char_Start Sentinel value: start of enumerate.
Char_Number Numerical character or space.
Char_NumberFixed Numerical character.
Char_NumberPlusMin Numerical character, plus or minus or space.
Char_Letter One of A-Z, a-z or a space.
Char_LetterFixed One of A-Z, a-z.
Char_LetterUpCase One of A-Z or space.
Char_LetterDownCase One of a-z or space.
Char_LetterFixedUpCase One of A-Z.
Char_LetterFixedDownCase One of a-z.
Char_AlphaNum One of A-Z, a-z, 0-9 or space.
Char_AlphaNumFixed One of A-Z, a-z, 0-9.
Char_AlphaNumUpCase One of A-Z, 0-9 or space.
Char_AlphaNumDownCase One of a-z, 0-9 or space.
Char_AlphaNumFixedUpCase One of A-Z, 0-9.
Char_AlphaNumFixedDownCase One of a-z, 0-9.
Char_All Any ASCII or space.
Char_AllFixed Any ASCII character.
Char_AllUpCase Any uppercase character.
Char_AllDownCase Any lowercase character.
Char_AllFixedUpCase Any uppercase character, no space.
Char_AllFixedDownCase Any lowercase character, no space.
Char_HourSeparator The system locale hour separator.
Char_DateSeparator The system locale date separator.
Char_Stop Sentinel value: end of enumerate.

Description

tMaskedType is used internally in TMaskUtils to describe the mask characters.

Char_start
Sentinel value: start of enumerate.
Char_Number
Numerical character or space.
Char_NumberFixed
Numerical character.
Char_NumberPlusMin
Numerical character, plus or minus or space.
Char_Letter
One of A-Z, a-z or a space.
Char_LetterFixed
One of A-Z, a-z.
Char_LetterUpCase
One of A-Z or space.
Char_LetterDownCase
One of a-z or space.
Char_LetterFixedUpCase
One of A-Z.
Char_LetterFixedUpCase
One of A-Z.
Char_LetterFixedDownCase
One of a-z.
Char_AlphaNum
One of A-Z, a-z, 0-9 or space.
Char_AlphaNumFixed
One of A-Z, a-z, 0-9.
Char_AlphaNumUpCase
One of A-Z, 0-9 or space.
Char_AlphaNumDownCase
One of a-z, 0-9 or space.
Char_AlphaNumFixedUpCase
One of A-Z, 0-9.
Char_AlphaNumFixedDownCase
One of a-z, 0-9.
Char_All
Any ASCII or space.
Char_AllFixed
Any ASCII character.
Char_AllUpCase
Any uppercase character.
Char_AllDownCase
Any lowercase character.
Char_AllFixedUpCase
Any uppercase character, no space.
Char_AllFixedDownCase
Any lowercase character, no space.
Char_HourSeparator
The system locale hour separator.
Char_DateSeparator
The system locale date separator.

See also

Name Description
TMaskUtils Class to manipulate and work with edit masks.