B4J Question How to remove an event ?

scrat

Active Member
Licensed User
Longtime User
Hello

is there a possibility to remove an eventhandler on an anchorpane or howto know the eventhandler reference ?

I have 2 panes and the top pane catch all events even if there is no sub for this events

Thank you
 

Roycefer

Well-Known Member
Licensed User
Longtime User
Might it not just be easier for you to have both Panes use the same event sub? You can use Sender to see which Pane raised the event or use some global variable to set flags as needed.
 
Upvote 0

scrat

Active Member
Licensed User
Longtime User
Thanks but I wish the opposite solution. No event catched by panels.
I found a workound with <pickOnBounds>. Now all transparents pixels don't catch events.
 
Upvote 0
Top