Hallo

I am creating in my game panels with buttons dinamically with pan_create function. I have one array of string with the name of the events an to set the events in each button I used pan_setevent function but the event did not work. My code is:

PANEL* panel2D[200];
STRING* NameEvent[200];
for (i= 0; i<200; i++)
{
pan_setevent(panel2D,3,1,NameEvent);
}

What is the wrong here? The "void* event" in pan_setevent function do not accept String type?

thx