My GUI mapping controls are still not showing up under the control tab. files from my "Client_Test" zip folder.
My client.cs
exec("./Test.gui");
$remapDivision[$remapCount] = "Category";
$remapName[$remapCount] = "Action";
$remapCmd[$remapCount] = "Open_Test";
$remapCount++;
My Test.gui
//--- OBJECT WRITE BEGIN ---
new GuiControl(Test) {
profile = "GuiDefaultProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "640 480";
minExtent = "8 2";
visible = "1";
new GuiWindowCtrl(Test) {
profile = "GuiWindowProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "334 408";
minExtent = "8 2";
visible = "1";
accelerator = "escape";
text = "Test";
maxLength = "255";
resizeWidth = "1";
resizeHeight = "1";
canMove = "1";
canClose = "1";
canMinimize = "1";
canMaximize = "1";
minSize = "50 50";
closeCommand = "canvas.popDialog(TestGui);";
new GuiBitmapButtonCtrl(Button) {
profile = "BlockButtonProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "82 61";
extent = "140 30";
minExtent = "8 2";
visible = "1";
command = "TestButtonPush();";
text = "Button";
groupNum = "-1";
buttonType = "PushButton";
bitmap = " base/client/ui/button2";
lockAspectRatio = "0";
alignLeft = "0";
overflowImage = "0";
mKeepCached = "0";
mColor = "255 25 25 255";
};
};
};
//--- OBJECT WRITE END ---
function Open_Test(%Gui)
{
%Gui = canvas.pushDialog(TestGui);
}