Computer Science Canada

ABOUT Textfields

Author:  Lone]2 [ Wed May 07, 2003 10:16 am ]
Post subject:  ABOUT Textfields

Hey i was wondering how could you clear a textfield..........
like when a user types sumthing in the text field... and i want to clear it...
is there ne way to do dat?? Embarassed

Author:  tum_twish [ Wed May 07, 2003 10:18 am ]
Post subject: 

GUI.SetText (textfieldname,"")

Author:  Lone]2 [ Wed May 07, 2003 10:21 am ]
Post subject: 

oh ok thx Laughing Very Happy

Author:  ZeroKelvin [ Wed May 07, 2003 10:21 am ]
Post subject: 

try using this:

code:

GUI.SetText (text field name here, "")
GUI.SetSelection(text field name here,1,1)
GUI.SetActive (text field name here)


it should help

Author:  Office of the Registar [ Wed May 07, 2003 2:37 pm ]
Post subject: 

why do you need it for anyway?


: