Hi, I am porting an app which was written a couple of years ago from storyboard to composer.
I have instead of having lots of display objects in my lua code (and having to manage these objects) using the IDE to set out my applications look and feel.
I am however needing to find some documentation on the objects that are created by the IDE.
COnsider - I have a text object which is placed in a ‘button’ - I have a separate button that should change the actual text and then later when the button is touched different code paths execute.
I have been unable however to find any doc - the following code compiles but prints out nil for the Text object!
editbutton= self:getObjectByTag( “editbutton” )
print (editbutton.Text)
In an ideal world, I want to set this to either ‘Edit’ or ‘Done’ - can this actually be done?
Stan
Update: This thread https://forums.coronalabs.com/topic/49705-how-to-reference-ccscene-text-field-from-lua-file/?hl=getobjectbytag#entry257291 gave me the answer for my specific issue (the property is text not Text)