IgnoreMaskBlank Property

Applies to TestComplete 14.0, last modified on January 23, 2019

Specifies whether a user can leave the component when the component’s text does not match the specified mask.

Declaration

componentPropObj.IgnoreMaskBlank
Read-Write Property Boolean
componentPropObj     One of the objects listed in the Applies To section  

Applies To

The property applies to the following objects:

TcxButtonEditProperties, TcxComboBoxProperties, TcxMRUEditProperties

Description

Use the IgnoreMaskBlank property to specify whether a user can leave the component if the entered value is not validated. If IgnoreMaskBlank is False, the component will display an error message when a user attempts to leave the component and the entered value does not match the mask (this occurs, for instance, if the mask requires 5 digits and the user specified only one digit). If IgnoreMaskBlank is True, no error messages are displayed.

Property Value

A string value that is used as the mask for text input.

Remarks

The IgnoreMaskBlank property is meaningful only if the mask is specified, that is, if the EditMask property is not empty.

See Also

Using Masks
CaseInsensitive Property
EditMask Property
MaskKind Property

Highlight search results