339 B
339 B
setFocusedObject
Sets the currently focused object
Parameters:
objectThe child object to focus on
Returns:
frameThe frame being used
Usage:
- Creates a new button, sets the focused object to the previously mentioned button
local aButton = myFrame:addButton()
myFrame:setFocusedObject(aButton)