Game Development Community

GUIBitmapButtonTextControl Question

by Ronald J Nelson · in Torque Game Engine · 08/13/2007 (12:57 am) · 1 replies

Now I realize that this may be a question that is universal to all button types but I got to ask.

IS there some way to force it from script into it's depressed state?

BAsically I have a tab system thats using them, I want the tab to stay with the depressed look until one of the other buttons is pressed.

#1
08/13/2007 (1:08 am)
No.

The only thing that comes close is:
button.performClick();
Or:
button.setActive(bool);
You may be able to fake what you're after with the setActive method or better yet set the button type to a toggle button.