Your gump editor is really useful, thanks for share it. Every scripter that works with gump should use it. It saves a lot of time.
Unfortunately, there are some bugs.
That's one gump code:
[code:1]using System;
using Server;
namespace Server.Gumps
{
public class GumpWithNoName : Gump
{
private object m_State;
public GumpWithNoName(Object state) : base(0,0)
{
m_state = state
{ //****That shouldn't appear****
Closable = False; //****It's false, on lower case****
Dragable = True;//****It's true, on lower case****
AddPage(0);
AddBackground(0, 0, 200, 200, 9250);
AddBackground(17, 16, 163, 125, 3000);
AddButton( 49, 67, 4005, 4007, 1, GumpButtonType.Reply, 0 ); //*****That doesn't appear on my gump . On gump I have a TiledImage, but on the code it doesn't appears******
AddImage(0, 0, 2714);
AddLabel(106, 180, 1449"New Label"
; //******You forgot a comma, just before "New Label"*******
AddAlphaRegion( 26, 20, 137, 40 );
AddButton( 11, 168, 2369, 2371, 7, GumpButtonType.Reply, 0 );
}
public override void OnResponse( Server.Network.NetState sender, RelayInfo info )
{
}
}
}[/code:1]
The alpha regions works good, but seems to be a problem with load/save gumps. When I try to read a .gump, it gives me a problem and doesn't read anything beyond the first alpha region.
Ah! the last issue, Sometimes I close the toolbox by error, and I can't open it again. The toolbox shouldn't be closable.
Another little detail (secondary), when I add a new background it doesn't take the image I was pointing as gumpID, I need to put later manually.
With those problems solved and a page control, your program is perfect.
Again thanks for your great editor.