Lingo Dictionary > G-K > keyboardFocusSprite |  |

keyboardFocusSprite

Syntax

    set the keyboardFocusSprite = textSpriteNum

Description

System property; lets the user set the focus for keyboard input (without controlling the cursor's insertion point) on a particular text sprite currently on the screen. This is the equivalent to using the Tab key when the `AutoTab` property of the member is selected.

Setting `keyboardFocusSprite` to -1 returns keyboard focus control to the score, and setting it to 0 disables keyboard entry into any editable sprite.

See also

`autoTab`, `editable`