Computer Science Canada menus/exit help |
Author: | Michael [ Thu Sep 07, 2006 8:52 pm ] | ||
Post subject: | menus/exit help | ||
hey people. My first turing assignment is to answer 5 questions.. all questions are pretty easy but I have a problem doing a menu to access these questions. This is what I got so far:
Only question 1 works so far... the purpose of question 1 is to display numbers from -15 to 100 using a loop.. easy.. When you click "question 1" on the menu, it brings you to question 1 page and stops. I want it to go to that page for 3-4 seconds then exit that loop and come back to the menu? how can I do that? I've tried the exit command but it exits as soon as i press the menu, delay doesn't help. Thanks. |
Author: | TokenHerbz [ Thu Sep 07, 2006 9:42 pm ] | ||
Post subject: | |||
Hello, Im glad to see that you've at least attempted this question, so i am willing to assist you. I'm not going to show you anything fancy, out of your knowledge yet, But here is a way to fix your problem.
What happends is: When we enter into the questions loop, we get all the info put out, and we "View.Update" it to see what was put. This delay you can modify, what it does is stall the program for a time (which is the number) so, we draw the output, and stall the program for a few secs, to let someone read this output, then exit back to your menu. Hope i helped, and good luck on your other questions. |
Author: | Michael [ Thu Sep 07, 2006 10:16 pm ] |
Post subject: | |
awesome exactly what i needed problem solved.. thanks! |