heya
Code:
#include"robotshowcase.c";

function turn_on()
{
  set(nxthi_panel, SHOW);
}

PANEL* mainbutton1 =
{
bmap = gonorm;
pos_x = 10;
pos_y = 100;
button (0, 0, goclicked, gonorm, goover, robotswitch, NULL, NULL);
flags = OVERLAY | SHOW;
}

function robotswitch(var button_no, PANEL* panel_id)
{
  while(key_any){wait(1);}
  beep();
  turn_on();// display next panel? if that's what you're attempting
}


hope this helps