Computer Science Canada Help with buttons |
Author: | thenest [ Wed Nov 14, 2012 7:00 pm ] | ||||
Post subject: | Help with buttons | ||||
Im trying to create a program that asks if the user you would like to continue, then asks for the gender, using buttons. Im not to familiar with turing and have just read up a tutorial involving GUI and buttons. Heres my code :
The problem is, my second set of buttons becomes unreponsive , does anyone have a solution for this? Thanks in advance. Mod Edit: Pleas wrap you code in either of the following in order to preserve whitespace and to highlight the syntax.
|
Author: | Zren [ Wed Nov 14, 2012 8:48 pm ] |
Post subject: | RE:Help with buttons |
The answer can be found (probably) somewhere on this page: Gui.Quit Also. Some food for thought. If you weren't able to use the quit keyword (I'm talking about the one you used it the lol2 procedure), how would you change your program to cleanly exit? By cleanly exit, I mean to break out of all loops and reach the end of the code. |
Author: | Raknarg [ Thu Nov 15, 2012 10:44 am ] |
Post subject: | RE:Help with buttons |
Probably would be easier just to use your own buttons, the GUI ones are more annoying to work with |