PdeG Member Licensed User Longtime User Jan 9, 2024 #1 Hi all, on a form I have a button that uses the mouseReleased event B4X: Copy Private Sub Button_MouseReleased (EventData As MouseEvent) Log("Button_MouseReleased") End Sub but if the mouse button is released and the mouse cursor is no longer "hanging" over the button, the mouseRelease event is still executed, this is not the default behavior. If the mouse button is released not above the button, nothing should happen.
Hi all, on a form I have a button that uses the mouseReleased event B4X: Copy Private Sub Button_MouseReleased (EventData As MouseEvent) Log("Button_MouseReleased") End Sub but if the mouse button is released and the mouse cursor is no longer "hanging" over the button, the mouseRelease event is still executed, this is not the default behavior. If the mouse button is released not above the button, nothing should happen.
Erel B4X founder Staff member Licensed User Longtime User Jan 9, 2024 #2 This is not a bug. It is the "default" behavior of JavaFX.