Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Clear screen button
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Bruski




PostPosted: 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... Question Question Question
Sponsor
Sponsor
Sponsor
sponsor
85882




PostPosted: Sun Jun 15, 2003 11:09 am   Post subject: (No subject)

use the cls command.
Homer_simpson




PostPosted: 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




PostPosted: Sun Jun 15, 2003 11:22 am   Post subject: (No subject)

cls only clears the screen, not the text inside the box
Bruski




PostPosted: Sun Jun 15, 2003 1:01 pm   Post subject: (No subject)

lol im confused can u write that again Question
PaddyLong




PostPosted: 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




PostPosted: 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
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 7 Posts ]
Jump to:   


Style:  
Search: