Wantenter (GUI item property)

When set to 1, the onAction event gets fired when the user presses enter.

The value of this property cannot be changed at runtime.

Syntax

wantenter flag

Default value

0

Example(s)

wantenter 1