Game Development Community

Updating the GuiTextEditCtrl text field

by Mehmet Kizil · in Torque Game Engine · 10/11/2005 (10:38 am) · 1 replies

Why doesnt the value of a GuiTextEditCtrl.text update in real time? If i enter text into the GuiTextEditCtrl it doesnt update its "Text" field.. Why is this and how can i change it?

It should be just %storedVariable = TextEditName.text; but that only works if you manually set the text field in the GUI editor. Do I need to put texteditname.setValue("Input here")? But how can i grab the "Input here" if the text field isnt updated automatically??

#1
10/11/2005 (10:42 am)
Never mind everyone, using getValue(); solves this problem