help making a drop-down menu GUI
Author |
Message |
evildaddy911
|
Posted: 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
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) |
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) |
Description: |
the code for the drop-down ONLY |
|
 Download |
Filename: |
drop down menu.t |
Filesize: |
1.72 KB |
Downloaded: |
113 Time(s) |
|
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Dreadnought
|
Posted: 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
|
Posted: 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...
|
|
|
|
|
 |
|
|