you can just change the pos_x property of the PANEL* in a loop...

for(int i=0; i<250; i++)
{
PnlBg.pos_x++;
}

That should move the panel 250 pixels across the screen.