Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: Lebostein on March 17, 2008, 04:21:54 PM
-
Hi,
I want to update a text object (static control with name "line") in my Inventory Box. How I can get the ID of this object? I have tested the follow things, but without success:
var gui = Game.LoadInventoryBox("interface\inventory.def");
global gui_line = gui.GetControl("line");
var gui = Game.LoadInventoryBox("interface\inventory.def");
global gui_line = gui.GetWidget("line");
Must I extract the ID from included window first?
Thanks
-
var SomeControl = InvWin.
GetControl("control name");