Makeing a parent guicontrol
by Ron Yacketta · in Torque Game Engine · 01/11/2004 (6:35 am) · 4 replies
Hello all!!
I am currently struggling with adding a GuiControl to the PlayGui and then makeing it a parent so that I can add child gui's to it.
I have tried the r-click, l-click, r and l click even dbl click, did the jig, momba even the monstermash and still no go. Currently have a call out to the Physic hotline to see if they can be of assistance ;)
-Ron
I am currently struggling with adding a GuiControl to the PlayGui and then makeing it a parent so that I can add child gui's to it.
I have tried the r-click, l-click, r and l click even dbl click, did the jig, momba even the monstermash and still no go. Currently have a call out to the Physic hotline to see if they can be of assistance ;)
-Ron
#2
ALT - Right-click
on the parent object in the tree on the right...
that goes for Mission and Gui Editor...
01/11/2004 (6:49 am)
In the editor its ALT - Right-click
on the parent object in the tree on the right...
that goes for Mission and Gui Editor...
#3
Yes, I can add parents/children via JEdit with no issue, just unable to-do ingame with the F10 editor. It is a pain in the arse to have to hand edit PlayGui.gui to-do parent/children controls
@Beefy,
I gave that a try and no go, think it has something to-do with me adding mouse events to GameTSCtrl. Bet they are not being passe to up/down the chain to the proper ctrl, will have to-do some debugging when I get back from my sons Soccer scrimmage at noon (EST)
Thanxs for the help mates!
-Ron
01/11/2004 (8:09 am)
@Melv,Yes, I can add parents/children via JEdit with no issue, just unable to-do ingame with the F10 editor. It is a pain in the arse to have to hand edit PlayGui.gui to-do parent/children controls
@Beefy,
I gave that a try and no go, think it has something to-do with me adding mouse events to GameTSCtrl. Bet they are not being passe to up/down the chain to the proper ctrl, will have to-do some debugging when I get back from my sons Soccer scrimmage at noon (EST)
Thanxs for the help mates!
-Ron
Employee Melv May
Have you tried manually adding the script into your GUI file just in-case somehow the GUI file is screwing with the editor?
new GuiControl(ronsMotherGui) { profile = "GuiDefaultProfile"; horizSizing = "right"; vertSizing = "bottom"; position = "0 0"; extent = "640 480"; minExtent = "8 8"; visible = "1"; helpTag = "0"; // Children controls here... }- Melv.