never tested it but i gues it should work

Code:
function show_panel()
{
	if(event_type == EVENT_RELEASE) 
	{
	reset(panel,SHOW);
	}
	if(event_type == EVENT_TOUCH) 
	{
	set(panel,SHOW);
	}	
}

function entity_func()
{
	my.emask |= (ENABLE_TOUCH | ENABLE_RELEASE);
	my.event = show_panel;
...




"empty"