-
This has been frustrating me as I can only think of a very long winded way of doing this:
(I'm sure my frustration has clouded an abvious and short way!)
I have an array, and in' each one is a picture. at the moment I have a command button that randomly scrolls through the images in any order, but it can repeat images it has already been to.
I would like to know if there is any way of selecting an array object, and then disguarding it so it cannot be viewed again (untill the show random button in re-pressed, or the app re-started)
much thanks for any suggestions
haz
-
Try setting it equal to a second array, as you display each photo delete the array(current photo) from the group. Once all the photos have been displayed, reset your temp array to the original array and rerandomize.
-
Are you working with UDT's? or what do you mean with an array conatining picutures? You should place a boolean shown-flag into the udt and make it true whenever you press the command button. Then reset the flags if you press randomize