Game Development Community

GUI WindowControl issue

by Student-GameDevelopment · in Torque Game Engine · 09/03/2009 (8:45 pm) · 0 replies

Hello everyone, i have been putting together an RPG, i am working on the GUI. The gui is added to the playgui because it is the character data window. Meaning, when you click on Character Sheet button, it displays a window showing all your players attributes such as level, expereience, strength, attack etc..

Here is my issue, i have a GUI window with a lot of text controls added, they all display the info above, plus i have a lot of buttons on it because when you level up, i want for the player to be able to use bonus points and decide what attributes go up. Then there is a commit button at the bottom.

The window wont move, cant close it, cant minimuze it, nothing. I have the properties set for canMove, CanMinimize, canClose to true in the gui editor. Is there an issue with how many child controls i can add to a gui window? Would that have something to do with this? Also, i cant add any other empty GUI windows to it, when i do, they too cant do anything. Even when they are empty, only thing that works is to delete all the text controls from the CharacterWindow and save the gui. Then i can close or minimize it. Strange thing is tho, you can click on the buttons on that window and they work, i just cant move it or close it using the wigits at the top of the window, the x and minimize. For now, the commit button not only changes the attributes, but then closes the window for me...

Not a huge deal to have to do that, just would like to know what i did wrong with this, or is the window controll overloaded with children lol.

Thanks for any input!