GuiTextEdit control
by Jason McIntosh · in Torque Game Builder · 07/06/2005 (10:58 am) · 7 replies
Does anyone know what the heck all those options are in the GuiTextEdit control? Like:
- variable
- altCommand
- validate
- escapeCommand
- sinkAllKeyEvents
It would be really useful to have some public record of what these are, so if you have info please post here for the love of god so we'll have some documentation for this cryptic stuff. Thanks!! :)
- variable
- altCommand
- validate
- escapeCommand
- sinkAllKeyEvents
It would be really useful to have some public record of what these are, so if you have info please post here for the love of god so we'll have some documentation for this cryptic stuff. Thanks!! :)
About the author
#2
I beleive this will sink all of the key events into this control if checked, so will disable all other accelerator keys until you select another (this I haven't tested)
07/06/2005 (11:08 am)
- sinkAllKeyEventsI beleive this will sink all of the key events into this control if checked, so will disable all other accelerator keys until you select another (this I haven't tested)
#3
This is like command, it executes the command listed when it becomes or loses first responder and when you press enter...
- altCommand
This is like command, it runs the command, but only when you hit enter
07/06/2005 (11:15 am)
- validateThis is like command, it executes the command listed when it becomes or loses first responder and when you press enter...
- altCommand
This is like command, it runs the command, but only when you hit enter
#4
Like the rest it runs whatever command you have listed, it happens when you hit the Esc button while in this control
07/06/2005 (11:16 am)
- escapeCommandLike the rest it runs whatever command you have listed, it happens when you hit the Esc button while in this control
#5
07/06/2005 (11:29 am)
Wow, thanks, Matthew!! You rule. Fast, too. :)
#7
GuiTextEdit may not be completely documented yet, but many of the questions asked in this thread are answered by reference to GuiControl, the base class of all Gui controls.
02/26/2007 (10:26 pm)
Information about the GuiControl classes is slowly being filled in to the TDN. Start with the TGB_GUI_Overview and follow links from there.GuiTextEdit may not be completely documented yet, but many of the questions asked in this thread are answered by reference to GuiControl, the base class of all Gui controls.
Torque 3D Owner Matthew Langley
Torque
say you set this to "$text"
now when you update this textEdit it will update the $text variable with that value, vice versa, if you set $text = "text"; then refresh the gui it will update the edit control