
-----------------------------------
tum_twish
Tue Jun 10, 2003 10:25 am

GUI.Quit/ProcessEvent
-----------------------------------
When GUI.Quit is executed, the ProcessEvent loop is exited.  How can I have it such that I put another ProcessEvent loop later in the program for another set of widgets, without altering the GUI module

-----------------------------------
Tony
Tue Jun 10, 2003 1:25 pm


-----------------------------------
you can't... GUI.Quit sets a flag to stop any GUI activity. You would need to go into GUI module and write GUI.Start function  :lol: 

So to go around it, you use

loop
if GUI.ProcessEvent then
%processing
end if
exit when exitFlag = true
end loop


This way your GUI remains active, but you exited that loop. Now you can clear all your GUI, make new fields and start again on "another" screen.

-----------------------------------
Andy
Tue Jun 10, 2003 5:47 pm


-----------------------------------
or you can use GUI.Quit
shove it in a proc that activates when something is clicked and ur all set
