Computer Science Canada Back button |
| Author: | bvbjules13 [ Wed Oct 31, 2012 9:32 pm ] | ||
| Post subject: | Back button | ||
What is it you are trying to achieve? going back to the last procedure that is previously made, i have a start page and an instruction page, i want to go from start page to instruction page and back to start page with the instruction button still there What is the problem you are having? the lines of codes matter so i cant, i would have to keep copying pasting infinite lines of code
Please specify what version of Turing you are using 4.1 |
|||
| Author: | Tony [ Wed Oct 31, 2012 9:57 pm ] | ||
| Post subject: | Re: Back button | ||
bvbjules13 @ Wed Oct 31, 2012 9:32 pm wrote: going back to the last procedure that is previously made When a procedure completes, the control flow automatically goes back to the previous location (from where the procedure was called). E.g.
The second part of it all is that there is no such thing as "a page" in Turing. You have one program, with one screen, and everything lives together in this one place. Going forward might seem easy -- it's okay to just draw new stuff on top of the old stuff; but all of the GUI elements still remain. Unless you use GUI.Dispose or GUI.Hide, you'll just end up with layers of buttons on top of each other. |
|||
| Author: | bvbjules13 [ Wed Oct 31, 2012 11:39 pm ] |
| Post subject: | Re: Back button |
thanks tony! that helped a lot, i think i'm understanding what u're saying |
|
| Author: | bvbjules13 [ Thu Nov 01, 2012 9:41 am ] |
| Post subject: | Re: Back button |
actually tony that doe not work because both procedures rely on each other |
|
| Author: | Tony [ Thu Nov 01, 2012 12:08 pm ] |
| Post subject: | RE:Back button |
forward |
|