Hi,
I would like to differentiate between left and right mouse clicks when clicking on a b4j Pane. I understand from the docs B4X Basic Language pp 80 which events each object type can activate, but I couldn't find anything on Right - Left differentiation.
I have looked at a number of posts
But I am a bit lost.
Can some one point me in the right direction
Best regards
Rob
I would like to differentiate between left and right mouse clicks when clicking on a b4j Pane. I understand from the docs B4X Basic Language pp 80 which events each object type can activate, but I couldn't find anything on Right - Left differentiation.
I have looked at a number of posts
[B4X] SwiftButton - Adding Click/LongClick event
The next code add the funcionality in b4x to capture the click & longClick using Touch, in case of b4j add the option to fire the longClick using the Right Mouse Click or the secondary mouse button. - Unzip the file "XUI Views.b4xlib" - Look for the file "SwiftButton.bas" and open - Add the...
www.b4x.com
Right Click ??
how to activate the function right click of a mouse? ex: --------------------------------- Sub button1_rigt_click Msgbo(" all ok ") End Sub ---------------------------------------------- That this wrong, how?
www.b4x.com
TOUCH_ACTION_DOWN - Mouse Right Click
On a MainForm a Canvas(XUI) was added on which the TOUCH_ACTION Event is used: - Could it be possible to differentiate which Mouse Button was the trigger (primary/secondary/middle) ?
www.b4x.com
But I am a bit lost.
Can some one point me in the right direction
Best regards
Rob