focusedObject | |||||||
Type | function | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Summary | Returns the currently focused control. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: control Property: ID Command: focus, type Glossary: object, property, current card, command, return, active control Control Structure: function | ||||||
Description | Use the focusedObject function to determine which object receives any keystrokes that are typed by the user or created by the type command. The focusedObject can be any control on the current card. If no object has the focus, the focusedObject is the current card. | ||||||
Tags | ui |