in your panel make an event like this

Code:
function move_panel(PANEL* p)
{
   while(mouse_left) //Only run while the left button is held
   {
       p.pos_x = mouse_pos.x;
       p.pos.y = mouse_pos.y;
       wait(1);
   } 
}

PANEL* BLAH =
{
      event = move_panel;
}



That should work for ya


John C Leutz II