Author |
Message |
mrtdl
|
Posted: Fri May 13, 2011 9:19 am Post subject: How to create a dropdown list |
|
|
How do you create a dropdown list/menu in turing without using GUI.CreateMenu.
This is often used in birthdays when registering for sites. |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
|
|
|
![](images/spacer.gif) |
mrtdl
|
Posted: Tue May 17, 2011 1:03 pm Post subject: Re: How to create a dropdown list |
|
|
Ok i get what your saying but I'm still new at turing and if anyone can, is there an example of a working drop-down list... I don't think it should be hard for more experienced programmers... |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
|
|
|
![](images/spacer.gif) |
Raknarg
![](http://compsci.ca/v3/uploads/user_avatars/3745510004d8be6689b92f.jpg)
|
Posted: Tue May 17, 2011 5:13 pm Post subject: RE:How to create a dropdown list |
|
|
I think he meant an example that didn't require GUIs... |
|
|
|
|
![](images/spacer.gif) |
HRI
|
Posted: Tue May 17, 2011 5:51 pm Post subject: RE:How to create a dropdown list |
|
|
Just do what Tony said first and run a series of checks similar to how the GUI works. Start by drawing the first box, and when it's moused over, draw more. If any of those is clicked on, run a procedure.
Very possible with Mouse.Where and/or Mouse.ButtonMoved/Mouse.ButtonWait. |
|
|
|
|
![](images/spacer.gif) |
|