Hello guys I'm new here on the forum and seek experience and learning, so I have the following questions:
I have 2 layout, the first has 4 buttons (each 1 means background), the user must choose only one button, thus changing the background chosen.
Chosen the background the user moves to the next layout (hence arises the doubt), how can I get the background that was chosen in 1 layout and stay with him in the second layout?
Thanks in advance to all who try to help.
Ron Sueliton
Really easy to do with variables, for example you make a global variable called background and set it to 0. Then on each one of your button presses set the variable to a different number, button1 press set global variable to 1, button2 press set global variable to 2 etc.... Then on your second layout you just check what the variable is, on start layout>if global variable background =1 set background to background 1 and so on.