Not work, Nothing.
Server_Group.zip
Sever.cs
registerOutputEvent(fxDTSBrick,"CreateGroup","", 0, 1);
function fxDTSBrick::Group(%this,%client)
{
commandToClient(%client, 'OpenGroupGUI');
}
Client_Group.zip
Client.cs
function clientCmdOpenGroupGUI()
{
canvas.pushDialog(GroupGUI);
}
GroupGUI.gui
(Create Group)
//--- OBJECT WRITE BEGIN ---
new GuiWindowCtrl(CreateGroup) {
profile = "GuiWindowProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "0 0";
extent = "250 150";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
text = "Create Group";
maxLength = "255";
resizeWidth = "0";
resizeHeight = "0";
canMove = "1";
canClose = "1";
canMinimize = "0";
canMaximize = "0";
minSize = "50 50";
new GuiBitmapButtonCtrl(CreateButton) {
profile = "BlockButtonProfile";
horizSizing = "left";
vertSizing = "top";
position = "154 106";
extent = "91 38";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
text = "Done";
groupNum = "-1";
buttonType = "PushButton";
bitmap = "base/client/ui/button2";
lockAspectRatio = "0";
alignLeft = "0";
alignTop = "0";
overflowImage = "0";
mKeepCached = "0";
mColor = "255 255 255 255";
hasUpdated = "1";
};
new GuiTextEditCtrl(TextBox) {
profile = "GuiTextEditProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "11 52";
extent = "227 23";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
maxLength = "255";
historySize = "0";
password = "0";
tabComplete = "0";
sinkAllKeyEvents = "0";
};
new GuiTextCtrl() {
profile = "GuiTextProfile";
horizSizing = "right";
vertSizing = "bottom";
position = "62 30";
extent = "119 18";
minExtent = "8 2";
enabled = "1";
visible = "1";
clipToParent = "1";
text = "Create your Group name";
maxLength = "255";
};
};
//--- OBJECT WRITE END ---