Blockland Forums > Modification Help
[Tutorial] Making a Gui
<< < (25/30) > >>
DarkShadow6:

--- Quote from: DarkShadow6 on August 14, 2010, 04:06:21 AM ---I have Windoodle Seven and I throw all my fecal matter in %PROGRAMFILES.

--- End quote ---
Lol, didn't see the last post date.
Followed a link.
Greek2me:
big bump


--- Quote from: AGlass0fMilk on August 09, 2010, 12:28:49 PM ---I dont think it's a very good idea to remove the main menu GUI completely, but I will cover adding (and if possible, removing) pieces to (/from) a GUI.

If you must know now, I'll tell you that you can add controls to a GUI by using something like this:


--- Code: ---$NewCntrl = new CtrlType(CntrlName) {
                        profile = "GuiDefaultProfile";
                        horizSizing = "right";
                        vertSizing = "bottom";
                        position = "0 0";
                        extent = "310 335";
                        minExtent = "8 2";
                        visible = "0";
                        color = "50 50 50 128";
};

CntrlName/WindowName.add($NewCntrl);

--- End code ---
Note that you can add the new control to either a named Control (like a scroll bar) or to the window it self


I don't know if there is a remove(); function, but there might be. Try dump()-ing some GUI's to see what methods they have.

--- End quote ---

Please include this along with how to move existing controls in the new version
Miner Blockman:
I thought this was sticky
Greek2me:
Nope, no sticky on this one. He is going to make a new version of it I guess.
AGlass0fMilk:
If I do a new version, I will include a section that describes how to edit existing GUI's without creating a new GUI.

Anything else?
Navigation
Message Index
Next page
Previous page

Go to full version