GUI reference docs?
by Jason McIntosh · in Torque Game Builder · 03/03/2005 (3:42 pm) · 11 replies
I'm trying to figure out GUIs now, but I can't find reference docs for what all the GUI controls are. Is there a list of this stuff somewhere?
It would be great to have tooltips in the GUI editor that describe each of the settings and widgets when you mouse over.
It would be great to have tooltips in the GUI editor that describe each of the settings and widgets when you mouse over.
About the author
#2
03/03/2005 (6:12 pm)
Er, ok, after actually looking at the GUI section, it's not so good. Nevermind. Not much there.
#4
03/03/2005 (9:11 pm)
@Matthew: Through trial and error I've managed to pull off what I needed, but I'll take you up on your offer if something else comes up. :)
#5
I know a good deal about messageVectors and guiMessageVectorCtrl... the basic ones, and the framectrl... so feel free to ask if you hit a wall :)
03/03/2005 (9:38 pm)
Glad you did, trial and error is what I'd recommend anyways lol, us programmers are stubborn ehh...I know a good deal about messageVectors and guiMessageVectorCtrl... the basic ones, and the framectrl... so feel free to ask if you hit a wall :)
#6
03/03/2005 (11:47 pm)
Ok, here's one I can't figure out. How can I give a control (like a text input control) focus? The search feature here on the site leaves much to be desired, and there are no docs I can find that mention this.....?
#7
taken from the source code...
can try textInput.setCursorPos(0);
if I get a minute I'll test it for you
(on work pc the gui editor runs very very slow)
03/04/2005 (9:21 am)
Haven't tested this but might be thisConsoleMethod( GuiTextEditCtrl, setCursorPos, void, 3, 3, "textEditCtrl.setCursorPos( newPos )" )
taken from the source code...
can try textInput.setCursorPos(0);
if I get a minute I'll test it for you
(on work pc the gui editor runs very very slow)
#9
@Jeff: Thanks for the link. I had already read it. ;)
03/04/2005 (12:58 pm)
@Matthew: Neither of those worked for me. Darn! Thanks for trying. :)@Jeff: Thanks for the link. I had already read it. ;)
#10
03/04/2005 (1:01 pm)
Just tried it too... doesn't set focus but sets cursorPos if your in it lol... tired the MLTextEdit one too... same
#11
03/04/2005 (1:50 pm)
%gui.makeFirstResponder(1);
Torque Owner Jason McIntosh