Nano brain
Its a little vague, but ill assume that the button is on the Darkbasic Window, after deleting it, ensure that you sync the Darkbasic Window, else the button may be deleted, but a picture of it may stay pasted on the Darkbasic Window, thats a problem i had at one point, Also ensure you call the command like this
g = DeleteGadget(g)
if you fail to use the return value then the DeleteGadget Command may fail.
Twinsen
there are a few people making new editors for gui systems, i've got one i've been working on my homepage for BlueGui.
Everyone Be Cool, You, Be Cool.