Quote:
code: |
loop
exit when GUI.ProcessEvent or blnQuit
end loop |
yeah. i figured that out when i posted.
Quote:
wats wrong wit using GUI.Quit
It seems that GUI.ProcessEvent doesn't automatically remove the last pressed button that has a GUI.Quit event. Try this: create two buttons that have a parameter of GUI.Quit. Then do this:
loop
exit when GUI.ProcessEvent
end loop
loop
exit when GUI.ProcessEvent
end loop
put "Finished"
Normally you would expect to have to press the button twice for the program to finish, but just once does it