|
-
Dynamic text from array
Thanks Rob... I get the drift now!
RonM
-
dynamic text from array
I still cannot get this to work:
dynamicTextField.text = btnArray[0];
The button is from the library. There are 3 instances of the button on the screen, each has a different instance name. The instance name of the first button is: part1button_btn so I am using:
part1button_btn.text = myArray[0][0]; //it's a two level array
Is this correct? Am I properly addressing the text field of the button instance 'part1button_btn'? If I open the button up in the button editor it also has an instance name, but that is not what I should be addressing, is it?
I'm confused by the two instance names, one in the button editor, the other in the button 'properties' when you click to highlight the button on the screen.
Thanks for your comments.
RonM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|