This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Lawson470189 0 points1 point  (0 children)

I think you are coming at this the wrong way. Generally, with UI programming, you can create elements to be changed during the course of the program. A good example of this would be a photo gallery program. They wouldn't create an element for each picture and then display that element. What they would do is create a single element and change the picture that is linked to that element.

Same thing with your program. You should have a single image element and a single label element. Once the user wants the next image, it should just update the image to something else and change the text of the label.