401 B
401 B
removeFocusedObject
Removes the focus of the supplied object
Parameters:
objectThe child object to remove focus from
Returns:
frameThe frame being used
Usage:
- Creates a new button then removes the focus from that button when clicking on it
local aButton = myFrame:addButton():setFocus():onClick(function()
myFrame:removeFocusedObject(aButton)
end)