Peter Bienstman - 2003-09-21

Hi,

I have two text labels which partly overlap. I'm alternatively showing one and hiding the other. Both labels have clickareas attached to them.

Trouble is, if I click in the overlap region, both meterClicked events are fired, even the one of the label that is currently hidden.

What is the best way to solve this? There doesn't seem to be a detachClickArea function. Should I delete and recreate the labels, rather than hiding and unhiding them? But that'll probalby waste a lot of resources.

Peter