Ok great I seem to have worked out a solution so here it is in case it is of use to anyone else.
Essentially I add a touch event listener to the info panel that I am displaying and then add return true to prevent the event passing on to any other listeners
function removeInfo()
transition.to( infoPanel, { time=250, x=8, y=483} )
infoPanel:removeEventListener("touch", clickInfoPanel)
end
function clickInfoPanel( event )
return true
end
function displayInfo()
transition.to( infoPanel, { time=250, x=8, y=10 } )
infoPanel:addEventListener("touch", clickInfoPanel)
end
Hope this proves useful to others as I would imagine quite a common requirement [import]uid: 7863 topic_id: 5035 reply_id: 16507[/import]