Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Creating Widgets in Classes
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
tum_twish




PostPosted: Wed May 28, 2003 10:55 am   Post subject: 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?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Wed May 28, 2003 11:10 am   Post subject: (No subject)

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..

code:

loop
GUI.ProcessEvent
exit when timeToExit = true
end loop
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 2 Posts ]
Jump to:   


Style:  
Search: