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. |
|
|
|
|
|
Sponsor Sponsor
|
|
|
Tony
|
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. |
|
|
|
|
who cares?
|
Posted: Mon Oct 06, 2003 6:31 pm Post subject: Thanks |
|
|
Thank you very much. |
|
|
|
|
|
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 |
|
|
|
|
|
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? |
|
|
|
|
|
thoughtful
|
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. |
|
|
|
|
|
|