438 B
438 B
getObject
Returns a child object of the frame
Parameters:
stringThe name of the child object
Returns:
object | nilThe object with the supplied name, ornilif there is no object present with the given name
Usage:
- Adds a button with id "myFirstButton", then retrieves it again through the frame object
myFrame:addButton("myFirstButton")
local aButton = myFrame:getObject("myFirstButton")