Computer Science Canada GUI feild select problems |
| Author: | Ambiguities [ Wed Mar 11, 2009 4:50 pm ] | ||
| Post subject: | GUI feild select problems | ||
I'm trying to have fields added into a GUI box with recursion from a tree but it only enters the first variable. can you see what i did wrong? i think it might be the way i'm trying to read it
|
|||
| Author: | corriep [ Wed Mar 11, 2009 5:06 pm ] |
| Post subject: | RE:GUI feild select problems |
You have to create to text box before you call the recursive procedure. Right now you are creating a new text box on every recurse. |
|
| Author: | Ambiguities [ Wed Mar 11, 2009 5:12 pm ] | ||
| Post subject: | Re: GUI feild select problems | ||
i reviewed the code removed the creation of the gui box and it wont display any other tree segments... my brain is so tired lol
it doesn't error but yet again it doesn't seem to properly work any ideas? |
|||
| Author: | corriep [ Wed Mar 11, 2009 5:25 pm ] | ||
| Post subject: | Re: GUI feild select problems | ||
Btw, remember syntax tags Quote: [syntax="Turing]
code here [/syntax] |
|||
| Author: | Tony [ Wed Mar 11, 2009 5:27 pm ] |
| Post subject: | RE:GUI feild select problems |
The reference to textbox should probably be passed to the function, instead of being decleared globally; though either way the point is to have exactly 1 instance of the GUI element. |
|
| Author: | Ambiguities [ Wed Mar 11, 2009 8:24 pm ] |
| Post subject: | Re: GUI feild select problems |
Thanks |
|