PHP Code:
//#CLIENTSIDE
function onCreated(){
TwinnyTest.destroy; //No need to reconnect after each update now
drawgui();
}
function drawgui(){
Testing = new GuiWindowCtrl(TwinnyTest); //Sets the name of the window
with (TwinnyTest) {
useownprofile = true;
profile = "GuiBlueWindowProfile";
extent = "450 300";
position = "100 100";
canmaximize = true;
canminizmize = false;
canclose = true;
visible = true;
new GuiButtonCtrl("News") {
profile = "GuiBlueButtonProfile";
extent = "100 30";
position = "5 150";
text = "Actual Text";
}
new GuiScrollCtrl("ScrollName") { //Must enter a name for a control
profile = "GuiBlueScrollProfile"; //use GuiScrollCtrl not GUIScrollCtrl
extent = "100 100";
position = "10 30";
}
}
GraalControl.addControl(TwinnyTest); //Must be the name of the window
}
Use that for a reference for your main GUI stuff
http://wiki.graal.net/index.php/Crea...d_Window_Panes
A link to a guide about Tabbed Panes from Graal Wiki