Is there a possibility to consume mouse event in B4J?
I have a ScrollPane with a smaller Canvas in it. The scrollPane uses the MouseClicked event, the canvas uses the MousePressed/MouseReleased. Is it somehow possible to consume the event when Canvas_MouseReleased is raised so the Scroll_MouseClicked does not happen anymore?
I tried setting EventData.Consume in both MousePressed and MouseReleased, but it still goes to MouseClicked of the parent.
I have a ScrollPane with a smaller Canvas in it. The scrollPane uses the MouseClicked event, the canvas uses the MousePressed/MouseReleased. Is it somehow possible to consume the event when Canvas_MouseReleased is raised so the Scroll_MouseClicked does not happen anymore?
I tried setting EventData.Consume in both MousePressed and MouseReleased, but it still goes to MouseClicked of the parent.
Last edited: