Not sure what’s going on. I know that native text fields cannot be put into a display group and will always be above any display group. That’s fine. According to the documentation, I should still be able to manipulate the x/y/isvisible values and should be able to textField:removeSelf(). None of the aforementioned solutions work.
I have a table view which is being searched, and when someone leaves the page, or when someone clicks a list item, I want the text field to disappear. I figured adding this code to the transition would work:
transition.to(titleField, {time=400, y=titleField.y-1850})
On the first couple passes, nothing happens, then the text field goes up a little bit, but reveals yet another text field underneath it. (I have checked, there is only one call to create the field and it’s not inside any loop or function.
using
titleField.isVisible=false
or
titleField:removeSelf()
Does nothing
any advice?
[import]uid: 77043 topic_id: 36262 reply_id: 336262[/import]