Author |
Message |
who cares?
|
Posted: Mon Oct 06, 2003 5:34 pm Post subject: Reseting text fields |
|
|
Hi!
What do I have to do in order to reset a text field (from the GUI module)? I have a loop and each time the loop repeats itself, I want to be able to reset the field, so that the next time that the used enters something it will be blank. Thank you very much. |
|
|
|
|
![](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)
|
Posted: Mon Oct 06, 2003 5:44 pm Post subject: (No subject) |
|
|
code: |
GUI.ClearText (widgetID : int)
|
This should clear the text in the spesified textbox.
If you're using a textfield, you would have to use
code: |
GUI.SetText (widgetID : int, text : string)
|
and set text to "" (blank) |
Tony's programming blog. DWITE - a programming contest. |
|
|
|
![](images/spacer.gif) |
who cares?
|
Posted: Mon Oct 06, 2003 6:31 pm Post subject: Thanks |
|
|
Thank you very much. |
|
|
|
|
![](images/spacer.gif) |
krishon
|
Posted: Sat Oct 11, 2003 10:06 am Post subject: (No subject) |
|
|
yah..i've always hated the gui in turing....its so much easier in java...it pops up for u when inputting ![Laughing Laughing](http://compsci.ca/v3/images/smiles/icon_lol.gif) |
|
|
|
|
![](images/spacer.gif) |
Andy
|
Posted: Sat Oct 11, 2003 2:26 pm Post subject: (No subject) |
|
|
does turing still crash when u press any key when u have a textbox up? |
|
|
|
|
![](images/spacer.gif) |
thoughtful
![](http://www.chiefdelphi.com/pics/myfiles/1069591541avatar1.jpg)
|
Posted: Sat Oct 11, 2003 11:22 pm Post subject: dont think so |
|
|
I dont think that 4.0.4 crashes , but i heard that if you have a text field and a textbox on the same page it crashes. but this will be fixed in the next version, at least thts wht i heard. |
|
|
|
|
![](images/spacer.gif) |
|