Better "get <var>" function?
Author |
Message |
Atherial
|
Posted: Thu Nov 12, 2015 8:07 pm Post subject: Better "get <var>" function? |
|
|
What is it you are trying to achieve?
I am trying to find a better equivalent to assign a variable to a users input. I have been using get num for example, and getch, but I cant seem to find a good way to do it. I want the user to be able to type numbers in, backspace if they get it wrong, and press enter to confirm, with the text appearing on screen, and deleting when backspacing. If this is possible please let me know!
Thank you!
-Mac |
|
|
|
|
![](images/spacer.gif) |
Sponsor Sponsor
![Sponsor Sponsor](templates/subSilver/images/ranks/stars_rank5.gif)
|
|
![](images/spacer.gif) |
Atherial
|
Posted: Fri Nov 13, 2015 11:13 am Post subject: Re: Better "get <var>" function? |
|
|
Bumping, Does anyone know any detailed tutorials to text fields? Preferably with GUI's- But as detailed as possible please. Thank you. |
|
|
|
|
![](images/spacer.gif) |
Tony
![](http://wiki.compsci.ca/images/f/f4/OniTony.gif)
|
Posted: Sun Nov 15, 2015 8:58 pm Post subject: RE:Better "get <var>" function? |
|
|
It's not clear why get doesn't work for you - it does exactly what you describe. |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
Atherial
|
Posted: Wed Nov 18, 2015 9:42 pm Post subject: Re: Better "get <var>" function? |
|
|
I was looking for a more stylish way to do so, finished with using GUI Text fields!
Sorry! Next time I will be more specific!
Thanks for the reply!
*SOLVED* |
|
|
|
|
![](images/spacer.gif) |
|
|