Computer Science Canada loopin GUI problem |
Author: | TryinghArd_noob [ Tue Oct 12, 2004 11:42 am ] | ||
Post subject: | loopin GUI problem | ||
hey!! great site...!!! only if i found it earlier... like last year i would be fatter ryt now.. nywy i have this bank machine project and im using GUI bottons to navigate... but the problem is that i have no idea how to go back to the main menu... well ill post the basic program that i have ryt now.. i took some so dat it wouldnt be long... my apology for the noob prog.. jst learnd dis weekend.. Thanks in advance
|
Author: | Genesis [ Tue Oct 12, 2004 2:11 pm ] |
Post subject: | |
What I would do is make it so that from the main menu, when the user clicks one of the buttons, it opens a new window with the new set of buttons in it. Then in the new window have a button that simply closes the window, and reverts back to the main window. You can look up Window.Open, Window.Close, etc. in the Turing Reference. (I tried this way with your code and it works quite well.) |
Author: | TryinghArd_noob [ Tue Oct 12, 2004 2:41 pm ] |
Post subject: | |
but is there a way that i could do it in one window? caus its supose to be a bank machine... my god brain overload |
Author: | shorthair [ Tue Oct 12, 2004 2:58 pm ] |
Post subject: | |
Then why d oyou need a gui If its a Bank Machine ? GUI , is a hassle , especailly with gettting a button working twice , you have to reset is Parameters , with Boolean , and i hate doing it ( not difficult ) just a hassle , If your Just beginging with turing then Use new buttons , Its much easier , |
Author: | TryinghArd_noob [ Tue Oct 12, 2004 3:17 pm ] |
Post subject: | |
Caus my teacher give marks for originality, since our class didn't took up GUI's... so i decided to used them.. whats the chance of having a classmate doing the exact thing? this so frustrating caus i spend 2 nigths learning GUI... and wut do u mean by"new buttons" |
Author: | TryinghArd_noob [ Tue Oct 12, 2004 3:23 pm ] |
Post subject: | |
so those this mean that i have to rewrite my prog... caus i have to hand dis in 2morow i have the other prog, all i need is a prog that goes back to the main menu |
Author: | TryinghArd_noob [ Wed Oct 13, 2004 2:25 am ] |
Post subject: | |
ah... that sucks.. theres no really chance on doing it ha... oh well thanks anyway.. |
Author: | TryinghArd_noob [ Wed Oct 13, 2004 9:35 pm ] | ||
Post subject: | |||
Geezzz.... im a freakin stupid , i jst found out how to do it.. i dunno if this is the ryt way or some1 has done it... but hey it works for me if i haven't seen the tut "F9 and F10" i wouldn't figure this out thanks guys!!! Simplw all i just did was use GUI.Hide, GUI.Show, GUI.Refresh and stuff like dat, but kindda long but still works ryt?! jst wanna share to my fellow noobs out there, at least we have somethin 2 start with ryt?! 2 bad my project is late now anyways here it is... its up 2 u 2 add some stuff
|
Author: | zomg [ Fri Oct 15, 2004 10:54 am ] |
Post subject: | |
i have, as some would would say, a couple of stupid questions... WTF is the point?!?!?! what does it supposed to do!?!?!!?? it serves no useful purpose in the existance of humanity AHHHHHHHHH!!!!!!!!11 |
Author: | TryinghArd_noob [ Sun Oct 17, 2004 3:17 am ] |
Post subject: | |
Well.. i know im not good at this as u are, that's why im "TryingHard_noob"... but at least i tried ryt?! my point was that i could go back to my main menu (that is GUI buttons) without using other windows... i just posted the basic program, and if u want it to work then u can modify it by adding other programs in it, so dat u could do commands and graphics... u should have suggest something before... man......... this u ever read my question?!... or ur jst lyk dat<!? |
Author: | Hikaru79 [ Sun Oct 17, 2004 4:48 pm ] |
Post subject: | |
tryinghArd_noob, good for you! You had a problem and even though nobody could solve it you didn't just sit around and whine, but you did it yourself! If only all noobs were like you (Just joking, you no longer qualify as a n00b. You're cool now). +10 Bits for you |
Author: | TryinghArd_noob [ Tue Oct 19, 2004 12:02 pm ] |
Post subject: | |
Thanks 4 the generosity bits?! is that some kindda points or something?! i guess being tryinghard sometimes paid off |