WANTTABS attribute

The WANTTABS attribute forces a text field to insert Tab characters in the text when the user presses the Tab key.

Syntax

WANTTABS

Usage

By default, text fields like TEXTEDIT do not insert a Tab character in the text when the user presses the Tab key, since the Tab key is used to move to the next field. You can force the field to consume Tab keys with this attribute.

The user can still jump out of the field with Shift-Tab, if this key is not bound to an action.

For more details, see the TEXTEDIT item type.