I added an imageview to the graphic area (via setGraphic method) of a Titledpane.
When I click the imageview, the MouseClick event triggers for both the imageview and the titledpane (so it expands/collapses). I want to avoid this behavior when clicking on the imageview.
I do use event.consume in the imageview's mouseclick event sub.
When I click the imageview, the MouseClick event triggers for both the imageview and the titledpane (so it expands/collapses). I want to avoid this behavior when clicking on the imageview.
I do use event.consume in the imageview's mouseclick event sub.