wantReturn

Type: Boolean

Availability: Read or write at any time

The wantReturn property of the TextBox and JadeRichText class specifies whether carriage returns are passed to the text box or rich text control.

When this property is set to the default value of false, entering a carriage return while the text box or rich text control has focus and the form has a default button causes the default button to get focus and be clicked. If the form does not have a default button, the carriage return is passed to the text box or rich text control.

When the wantReturn property is set to true and the text box or rich text control has focus, a carriage return is always passed to the text box or rich text control and any default button is unaffected.

This property is ignored in web‑enabled forms.

2016.0.01 and higher