Specifies how users enter data and how to display data in a control. Available at design time and run time.
Control.InputMask[ = cMask]
Specifies settings to determine how to enter and display data. The following table displays the possible values for cMask.
Converts lowercase letters to uppercase letters.
Permit entry of digits, spaces, and signs, such as the minus sign ( вЂ“ ).
Displays the current currency symbol, as specified by the SET CURRENCY command, in a fixed position.
Displays floating currency symbol that always appears adjacent to the digits in a spinner or text box.
Displays the current digit-grouping, or separator, symbol as set by the Regional and Language Options setting in the Windows Control Panel.
Displays the current decimal point character as specified by the SET POINT command setting. (Default is a period (.))
Permits entry of digits and signs.
Permits alphabetic characters only.
Prevents entry of non-hexadecimal symbols in the specified position.
Permits logical data only.
Permits letters and digits only.
Permits alphabetic characters only and converts them to uppercase (A - Z).
Permits alphabetic characters only and converts them to lowercase (a - z).
Permits any character.
Permits the letters, Y, y, N, and n for the logical values True (.T.) and False (.F.), respectively.
InputMask differs from the Format property in that it specifies behavior for the entire input field. You can mix several Format codes; however, they affect all data in the input field.