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

Username:   Password: 
 RegisterRegister   
 help making a drop-down menu GUI
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
evildaddy911




PostPosted: Tue Jun 26, 2012 7:38 pm   Post subject: help making a drop-down menu GUI

What is it you are trying to achieve?
im trying to create a basic GUI using the buttons class i made


What is the problem you are having?
the menu doesnt seem to be getting drawn on-screen


Describe what you have tried to solve this problem
double-check all code, triple-check, quadruple-check. I cannot see any way that the drawing procedure can be ignored.


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
basic run through, see attachments:
- resize all buttons so that they are the same sizes.
- [LOOP]
- draw the first button
- check if the mouse is hovering over it.
- if so, draw the others
- exit when one of the buttons is clicked
- [END LOOP]

Turing:


<Add your code here>



Please specify what version of Turing you are using
open



sort and highest.t
 Description:
sorting algorithm. the "highest" procedure is used in the sort.

Download
 Filename:  sort and highest.t
 Filesize:  1.03 KB
 Downloaded:  92 Time(s)


timer and buttons.t
 Description:
the buttons class, also contains a basic timer class. ignore that part.

Download
 Filename:  timer and buttons.t
 Filesize:  2.6 KB
 Downloaded:  98 Time(s)


drop down menu.t
 Description:
the code for the drop-down ONLY

Download
 Filename:  drop down menu.t
 Filesize:  1.72 KB
 Downloaded:  113 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Dreadnought




PostPosted: Tue Jun 26, 2012 8:32 pm   Post subject: Re: help making a drop-down menu GUI

Turing:
dropdown (100, 500, b, clickedID)


The default Turing window is 640x400.
See the problem?
evildaddy911




PostPosted: Wed Jun 27, 2012 12:37 pm   Post subject: RE:help making a drop-down menu GUI

thanks! lol, now i feel like an idiot...
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  [ 3 Posts ]
Jump to:   


Style:  
Search: