Sets the key focus status. Note that only one frame can be the key focus at a time. Focusing on another frame will automatically unset the current focus.
Element:SetKeyFocus(focus) | |||
Parameter | Type | Datatype | Description |
---|---|---|---|
focus | parameter | boolean | The new key focus setting. |