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

Username:   Password: 
 RegisterRegister   
 Button problems
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
KingGrumpz




PostPosted: Tue May 28, 2013 8:05 pm   Post subject: Button problems

What is it you are trying to achieve?
I am trying to hide the buttons for my game
(Note: This is no where close to being finished)

What is the problem you are having?
My main navigation buttons for my game are still clickable after a destination
has been chosen if you click in the same spot. (you have to run the game to understand)

Describe what you have tried to solve this problem
I've used GUI.Hide, GUI.Dispose, View.Update, View.UpdateArea, and cls


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
Code attached

Please specify what version of Turing you are using
4.1.1



mainFile.rar
 Description:

Download
 Filename:  mainFile.rar
 Filesize:  343.09 KB
 Downloaded:  195 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
MihaiG




PostPosted: Fri May 31, 2013 5:11 pm   Post subject: Re: Button problems

In the years ive used turing, I have never had success with the GUI buttons, they have always been buggy. My advice, with a little ambition you can make your own button class, or just some buttons that work just as well. There will be some bumps that occur ie. making sure someone doesnt mouse click then move over the button, mouse click move off the button and let go etc. but these can be readily fixed with some thoughtful if statements.
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: