IDecimalEdit.AllowEmpty

Syntax

AllowEmpty: Boolean;

Description

The AllowEmpty property determines whether the empty value can be in the component.

Comments

If the property is set to True, empty value in the component is not highlighted as invalid (red color). In this case the Value property returns 0, and the Text property returns an empty string. The AllowEmpty property is set to False default, the empty value in the component is highlighted as invalid.

See also:

IDecimalEdit