Blockland Forums > Modification Help
GUI Modifying Help [Solved by Port!]
<< < (3/3)
Port:
You don't need to set a variable for it (just use adminGui.add( Button_FetchAll );). Why it isn't appearing in the first case I currently can't see.
jes00:

--- Quote from: Port on January 20, 2012, 10:05:41 AM ---You don't need to set a variable for it (just use adminGui.add( Button_FetchAll );). Why it isn't appearing in the first case I currently can't see.

--- End quote ---
Ok, I figured out why it's not appearing, it's because Client_AdminGUIPlus is executed after my add on which means all I have to do is change the name.

How can I make the GUI window control it's parent? I tried adminGUI.GuiWindowCtrl.Add(Button_FetchAll); to no effect.
Port:
The name of the window is not "GuiWindowControl". Just look in the GUI to find the name of the window.
If it doesn't have a name, adminGUI.getObject( 0 ).add( button_fetchAll ); should work.
jes00:

--- Quote from: Port on January 20, 2012, 10:30:43 AM ---The name of the window is not "GuiWindowControl". Just look in the GUI to find the name of the window.
If it doesn't have a name, adminGUI.getObject( 0 ).add( button_fetchAll ); should work.

--- End quote ---
Thanks Port, your awesome!

*Topic Locked*
jes00:
This is what happens when I do this adminGUI.getObject(9).position = "209 134";

--- Code: (console) ---adminGUI.getObject(9).position = "209 134";
Set::getObject index out of range on adminGui. Index = 9, Size = 1

--- End code ---

EDIT: Nvm, adminGUI.getObject(0).getObject(8).position = "209 134";
Navigation
Message Index
Previous page

Go to full version