MASK keyword

Applies to

Edit components, ComboBox components, and other components that accept strings and numeric values

Component properties: Data format

Description

Specifies a mask, or template, that determines the format used to display or enter values in a component.

Syntax

MASK( string )

Part Description
string Expression that evaluates to a mask specification (see Remarks).

Remarks

For definitions of mask characters and notes on using them, see the "Input Mask property" topic.

The MASK keyword can serve as a parameter of the DEFAULTFORMAT keyword in data-format specifications.

Example

A component value with this format specification displays the input string "tested" as:  

TESTED: DATATYPE(CHAR) DEFAULTFORMAT(MASK(XXXXXX))

相关主题