Computer Science Canada

GUI text fields problems

Author:  who cares? [ Mon Jan 17, 2005 8:45 pm ]
Post subject:  GUI text fields problems

basically what i'm doing is this:

i got some GUI text fields that i write in, after that, i go on to do a bunch of stuff and dispose of the fields...

after a while though, i re-initialize the fields, however, i can't see what's being typed in them... unless i type something, then switch windows, then come back to the run window... only then will i see what i typed, but i still can't type and see it at the same time, i have to switch windows in order to see what i typed...

i know for sure it's not a problem with the event loop.... but i dont know what it is...

is there like a command that constantly updates the GUI textfields or something?

thanks

Author:  Bacchus [ Mon Jan 17, 2005 9:47 pm ]
Post subject: 

did you already exit the:
code:
loop
exit when GUI.ProcessEvent
end loop
?

Author:  who cares? [ Tue Jan 18, 2005 7:41 am ]
Post subject: 

Bacchus wrote:
did you already exit the:
code:
loop
exit when GUI.ProcessEvent
end loop
?


this is what my event loop looks like:

code:
    loop
        var useless := GUI.ProcessEvent
        exit when quitPro = true
    end loop


that's just so i can reset the quitPro value whenever i want it, and still have that stupid GUI.ProcessEvent in the loop...

Author:  Bacchus [ Tue Jan 18, 2005 5:28 pm ]
Post subject: 

ah, but are you still in that loop?


: