Aha, so that's the same =D

But it still don't want to work correctly, when the function chose_target is called, you can't see the digits no more. Why?

Code:
PANEL* targets =
{
	layer = 5;
	button = 0,0, cg_released_pcx, cg_normal_pcx, cg_over_pcx,chose_target,NULL,NULL;
	digits = 2,2, "target: first", "Arial#24", 0, 0;
}

void chose_target() {
	pan_setdigits(targets,1,2,2, "target: last", "Arial#24", 0, 0);
}




Thanks for reading, thinking, answering wink