Computer Science Canada GUI Text Field Help |
Author: | jamonathin [ Mon Jan 23, 2006 11:45 am ] | ||
Post subject: | GUI Text Field Help | ||
Hey all, for some reason i cant get my textfields to work right. I set up an example program of what is wrong. There are 2 textfields, the user puts a value into one of them, and hits the button, which is supposed to double the inputed value and put it into the other text field. Only this code doesn't work
any help is appreciated |
Author: | Clayton [ Tue Jan 24, 2006 2:13 am ] | ||
Post subject: | |||
i got the code to work according to what you said you wanted it to do so here it is hope it helps
there you go |
Author: | jamonathin [ Tue Jan 24, 2006 2:29 pm ] |
Post subject: | |
Ok that works, but my dilema is, what if I enter the information in the top field? Lets look at it this way, its a way to convert money, lets say canadian to US. Now, what if i have $20 US, and i want this button to convert it into canadian, or what if i have $15 CDN and i want the button to convert it to american. Where the top field would represent american, and the bottom field would represent canadian. |
Author: | jamonathin [ Wed Jan 25, 2006 12:21 pm ] | ||
Post subject: | |||
I have it now, so thanks n e ways for ur help, anyone wonderin how, heres the code . .
|
Author: | Clayton [ Wed Jan 25, 2006 3:26 pm ] |
Post subject: | |
glad you fixed that up, i didnt know that you wanted to be able to input into both fields but kool gj |