Computer Science Canada closing the unused windows |
Author: | ReN3g@de [ Sat Jan 24, 2004 9:45 pm ] | ||
Post subject: | closing the unused windows | ||
i've been working on this program for a while now and so far the only link that works is Beige Box under the build Guides menu, but any way my question is: how do i close the windows in behind that arent in use anymore? |
Author: | Delos [ Sat Jan 24, 2004 9:52 pm ] |
Post subject: | |
Window.Close (winID) GUI.CloseWindow (winID) Note...Turing is weird...needless to say. Trying to close an Input window can screw you up...havn't test your code, so I'm not sure what exactly you're looking for. |
Author: | ReN3g@de [ Sun Jan 25, 2004 6:43 pm ] | ||
Post subject: | |||
thanks Delos! i tried the Window.Close command before but it just screwed things up but with the GUI.CloseWindow its perfect except for one thing... Heres the code i have so far...
some one try this program, and u'll notice that when u click the "Beige Box" area the test box containing the info doesnt work. the arrows and the scroll bar doesnt work. any ideas? |
Author: | ReN3g@de [ Sun Jan 25, 2004 10:13 pm ] | ||||
Post subject: | |||||
^ Anybody got any ideas to why its not working ^
notice this part...if i change it to...
then the text box scroll bars work but when i press a key the program stops... what should i do? |
Author: | McKenzie [ Sun Jan 25, 2004 10:28 pm ] | ||
Post subject: | |||
ReN3g@de wrote:
the problem is once one key is hit the hasch will stay true untill you dump the key. There is a new Input.purge (clear ?). You can just do a getch outside of your loop, it'll clear the one character from the input stream. |
Author: | ReN3g@de [ Mon Jan 26, 2004 3:52 pm ] |
Post subject: | |
thanks that works but the scroll bars still dont work... |
Author: | McKenzie [ Mon Jan 26, 2004 6:02 pm ] |
Post subject: | |
I kinda hate the GUI so I avoid it for the most part. attach your txt file and I'll look at the code closer. |
Author: | Cervantes [ Mon Jan 26, 2004 7:16 pm ] |
Post subject: | |
yeah I dislike GUI too. You can make your own that is totally customizable without too much trouble... |
Author: | DanShadow [ Mon Jan 26, 2004 9:14 pm ] | ||
Post subject: | |||
your code was too long...so I didnt examine it, so ill just post an example of closing and opening a window.
I hope that helps in some way... |
Author: | ReN3g@de [ Tue Jan 27, 2004 5:43 pm ] |
Post subject: | |
heres the text file... |
Author: | Cervantes [ Tue Jan 27, 2004 6:04 pm ] |
Post subject: | |
too long as in too messy and unorganized |
Author: | Method [ Fri Jan 30, 2004 4:44 pm ] |
Post subject: | |
loop exit when hasch or GUI.ProcessEvent end loop Simple. |
Author: | Delos [ Fri Jan 30, 2004 5:42 pm ] |
Post subject: | |
Method wrote: loop
exit when hasch or GUI.ProcessEvent end loop Simple. It appears that your picture does not want to display. Perhaps netfirms does not allow hotlinking. Did I say perhaps? Nice picture though...another one of your wonderful works in Photoshop I'd assume. |
Author: | Method [ Sat Jan 31, 2004 9:17 pm ] |
Post subject: | |
*Shrug* Works for me. |