| Computer Science Canada GUI problem | 
| Author: | turinggirl [ Wed May 16, 2012 5:48 pm ] | ||
| Post subject: | GUI problem | ||
| What is it you are trying to achieve? <Replace all the <> with your answers/code and remove the <>> What is the problem you are having? <Answer Here> Describe what you have tried to solve this problem <Answer Here> Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) <Answer Here> 
 Please specify what version of Turing you are using <Answer Here> | |||
| Author: | turinggirl [ Wed May 16, 2012 8:24 pm ] | 
| Post subject: | Re: GUI problem | 
| sorry here is my problem: How can I carry out the sum on one window to another window using GUI? Here is part of my program: procedure windowBCheckout GUI.HideWindow (defWinID) GUI.ShowWindow (WindowBCheckout) end windowBCheckout count:int:=0 procedure windowtouch count := count + 199 put count end windowtouch buttontouch := GUI.CreateButton (765, 350, 0, "Add to Cart", windowtouch) in another window: windowtouch %but this gives me 0 instead of 199 Let say I have a bunch of calculations on one window, how would I carry out the sum to another window? It's really difficult to explain on this website S: | |
| Author: | Tony [ Wed May 16, 2012 8:29 pm ] | 
| Post subject: | RE:GUI problem | 
| what's your code for loading that other window? | |
| Author: | turinggirl [ Wed May 16, 2012 8:43 pm ] | 
| Post subject: | Re: GUI problem | 
| I have sent you my program via mail, please check. Many thanks! | |