For your 2nd question, you can write the code like this :

Code:

panel icon1
{
pos_x = 5;
pos_y = 10;
bmap = enemyBmap;
on_click = sum_enenmy;
}




I don't understand what you mean "copy panel", maybe you can write
your code like this :

PANEL* icon2;

panel icon1
{
//... define elements of icon1
}

icon2 = icon1;

EDIT
----
I've modified some codes.



Last edited by vlau; 06/28/07 14:54.