Masked Edit Control, Mask Property Clarification

ID: Q93129


The information in this article applies to:


SUMMARY

This article clarifies the description of the Masked Edit Control's Mask property given in "Microsoft Visual Basic Professional Features" on pages 233-234, and in the help file CTRLREF.HLP.


MORE INFORMATION

Example Mask Settings

The description of the Mask property includes the following statement:
..., the following standard, predefined input masks are available at design time.

The statement is followed by a list of possible Mask settings such as:
##-???-## Medium date (US). Example: 20-May-92

The settings listed are example settings. The Masked Edit control does not handle these particular settings specially, either at design time or run time. In this sense, they are neither standard nor predefined as the description states.

For example, the setting ##-???-## does not restrict the user to valid dates. This setting only requires two digits, three letters, and two more digits. So, for example, an input of 99ZZZ99 is valid with this setting.

Mask Character Place Holder "&"

The description of the place holder "&" is given as:
& Character placeholder. The valid value for the placeholder is any symbol or alphanumeric character.

This means that "&" is a place holder for any printable character.

Additional query words: 2.00 3.00


Keywords          : 
Version           : 
Platform          : 
Issue type        : 

Last Reviewed: June 11, 1999