"clearButtonEnabled"

Specifies whether the clear button is enabled for this text field.

Synopsis

shape. clearButtonEnabled ( bool clear);

Parameter

Parameter Description
shape Name of the object.
clear

TRUE = the clear button is enabled.

FALSE = the clear button is not enabled.

Description

When "clearButtonEnabled" is set to true a clear button is added to the text field when a text is entered. Clicking the button will delete the text.

Figure: clear button for text field visible

Assignment

Text field