Hello,
For some reason the latest build broke this code of mine:
local search = native.newTextBox(0, 0, 70, 24) search.text = searchLabel search.isEditable = true search.hasBackground = false search.isVisible = false search:addEventListener("userInput", searchF) local function scene\_loaded() print("Here", search) if search then print("search", search.isVisible) search.isVisible = true print("search", search.isVisible) end Runtime:removeEventListener("sceneLoaded", scene\_loaded) end Runtime:addEventListener("sceneLoaded", scene\_loaded)
Inside the Runtime function I can not set the search field to isVisible true/false for some reason. The print statements show the correct values, and the last print statement shows that the isVisible value changes to true, yet the textfield doesn’t appear in the app. Also if I change the Runtime listener to a timer instead it works.