GuiTextEditCtrl.getText() method?
by Jason McIntosh · in Torque Game Builder · 05/11/2005 (12:42 pm) · 0 replies
Is there a way to get the text from a text edit control? There doesn't seem to be a .getText() although there is a .setText(), and .getValue() seems to return an integer.
EDIT: Ok, so .getValue() does return the string. Nevertheless, good docs could have saved me some time.
Let me just add that this was largely because I forgot a fricking $ in front of a variable, giving me an empty result, and there was no warning about this from the engine. Granted, it was my error, but for Pete's sake the compiler should catch some of this stuff. *whining* I want my Python...
*shuffles away to work on the game*
EDIT: Ok, so .getValue() does return the string. Nevertheless, good docs could have saved me some time.
Let me just add that this was largely because I forgot a fricking $ in front of a variable, giving me an empty result, and there was no warning about this from the engine. Granted, it was my error, but for Pete's sake the compiler should catch some of this stuff. *whining* I want my Python...
*shuffles away to work on the game*
About the author