----------------------------------- tum_twish Wed May 28, 2003 10:55 am Creating Widgets in Classes ----------------------------------- When I try to create a textfield in a class, the textfield does not respond to keystrokes because theres no GUI.ProcessEvent loop. But if i put that loop in the class method, the class will continuously run until I say GUI.Quit. How can I get around the problem? ----------------------------------- Tony Wed May 28, 2003 11:10 am ----------------------------------- that depends on your program's structure... you could run the loop with GUI.ProcessEvent externally (outside the class)... Or you can run it inside the class itself untill you're done with the textbox.. loop GUI.ProcessEvent exit when timeToExit = true end loop