Author |
Message |
Bruski
|
Posted: Sun Jun 15, 2003 9:55 am Post subject: Clear screen button |
|
|
any suggestions on how i could do this...a click of the button clears the textboxes of any words or numbers... |
|
|
|
|
|
Sponsor Sponsor
|
|
|
85882
|
Posted: Sun Jun 15, 2003 11:09 am Post subject: (No subject) |
|
|
use the cls command. |
|
|
|
|
|
Homer_simpson
|
Posted: Sun Jun 15, 2003 11:18 am Post subject: (No subject) |
|
|
use GUI.Hide (widgetID : int)
edited
sorry i misunderstood...
use GUI.SetText (widgetID : int, text : string) to give them all the value of "" |
|
|
|
|
|
krishon
|
Posted: Sun Jun 15, 2003 11:22 am Post subject: (No subject) |
|
|
cls only clears the screen, not the text inside the box |
|
|
|
|
|
Bruski
|
Posted: Sun Jun 15, 2003 1:01 pm Post subject: (No subject) |
|
|
lol im confused can u write that again |
|
|
|
|
|
PaddyLong
|
Posted: Sun Jun 15, 2003 3:18 pm Post subject: (No subject) |
|
|
jsut do what Homer said...
GUI.SetText (widgetID : int, text : string)
for all of them and make the text be "" so like
GUI.SetText (widgetID : int, "")
for all of your text boxes |
|
|
|
|
|
Bruski
|
Posted: Sun Jun 15, 2003 9:30 pm Post subject: (No subject) |
|
|
ohh aiight thx...guys got me a 100 on this thing for sure thanks everyone |
|
|
|
|
|
|