Another GuiWindow Question
by CdnGater · in Torque Game Engine · 05/26/2004 (5:42 pm) · 3 replies
If I wanted two GuiWindows on the screen that are fully movable.
Would I need to give them the same parent, so that they are part of the same Gui?
I tried for testing
but I can't move Inventory because Skills is a dialog on top.
I dont want one big file that contains all the different Gui.
Am I approching this wrong? Anyone got any better ideas?
Is there a way to display a Gui without using pushDialog or setContent?
thanks.
Would I need to give them the same parent, so that they are part of the same Gui?
I tried for testing
Canvas.pushDialog(InventoryGui); Canvas.pushDialog(SkillsGui);
but I can't move Inventory because Skills is a dialog on top.
I dont want one big file that contains all the different Gui.
Am I approching this wrong? Anyone got any better ideas?
Is there a way to display a Gui without using pushDialog or setContent?
thanks.
Torque Owner Harold "LabRat" Brown
Canvas.getContent().add(inventoryWindows);
Canvas.getContent().add(skillsWindows);
use canvas.getContent().remove(%gui); to remove it