WinStudio

MASK Keyword

Applies To

Edit boxes, combo boxes, 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

See Input Mask Property for definitions of mask characters and notes on using them.

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

Example

A component value with the following format specification displays the input string tested as
TESTED: DATATYPE(CHAR) DEFAULTFORMAT(MASK(XXXXXX))


Related Topics

AUTOIME Keyword

BACKCOLOR Keyword

BLOBFORMAT Keyword

COMMA Keyword

COMMAS Keyword

DATE Keyword

DATETIME Keyword

DECIMAL Keyword

DECIMALPOINT Keyword

DEFAULTFORMAT Keyword

FONT Keyword

FORECOLOR Keyword

JUSTIFY Keyword

TIME Keyword

TRUNCATEDECIMAL Keyword