panel = pan_create("blah blah blah,1);
will rewrite the panel. Or placing
panel = NULL;
Will make it nothing and allow you to rewrite the whole panel.
Using pan_setbutton you can rewrite each button anyway you like. I can not think of a way to remove buttons other than to give them an invisible button with no function so it might as well be nothing.
However if you wanted to tile the panel in the first place that could be the problem (I have never tried it so I don't know). A good way to tile an image is to use "window" and set the panel size to way bigger than the image is. I do it all the time in my game, usually by accident, and the game is just fine with it.
Last edited by FoxHound; 04/11/12 14:15.