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

Username:   Password: 
 RegisterRegister   
 GUI buttons don't work on new screen.
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
jasonhan416




PostPosted: Thu Jan 08, 2009 2:08 am   Post subject: GUI buttons don't work on new screen.

I am making an ISP and all the GUI BUTTOns are clickable except when I make a new window screen.
On the new window, i cant click on the GUI button.
How do i fix it?
Sponsor
Sponsor
Sponsor
sponsor
Tony




PostPosted: Thu Jan 08, 2009 2:42 am   Post subject: RE:GUI buttons don\'t work on new screen.

you are likely not running GUI.ProcessEvent in a loop, at that point.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
jasonhan416




PostPosted: Thu Jan 08, 2009 2:44 am   Post subject: Re: RE:GUI buttons don\'t work on new screen.

Tony @ Thu Jan 08, 2009 2:42 am wrote:
you are likely not running GUI.ProcessEvent in a loop, at that point.


oh.. so GUI.ProcessEvent only works for the first window screen?
Then.. how do i make another GUI.ProcessEvent..
Tony




PostPosted: Thu Jan 08, 2009 3:05 am   Post subject: RE:GUI buttons don\'t work on new screen.

I don't know how you are implementing your "new window". Trace your code, and try to figure out what's happening at the moment when you click your mouse on the second screen.

Is this inside a loop? Does this loop call GUI.ProcessEvent?
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
jasonhan416




PostPosted: Thu Jan 08, 2009 8:07 am   Post subject: Re: GUI buttons don't work on new screen.

im using the new window in the new procedure using Window.Open with new variables and stuff.
Also Gui.processevent is like this at the end

loop
exit when GUI.ProcessEvent
end loop


like the end of the turing code.


and also, when i click on the screen in the new window, the button doesn't even a clickable.
its just frozen (not the screen, the button)
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  [ 5 Posts ]
Jump to:   


Style:  
Search: