hub73 Active Member Licensed User Longtime User Jan 27, 2016 #1 Hi ! Is there a method to disable the right-click mouse button inside application. If i press my touchpad right button from my logitech keyboard then application directly exit. This is a problem when i put some data from my 'inside application' webview and inadvertently press the wrong keyboard button ! Many thanks ! Android device : Google tv with logitech keyboard k400r.
Hi ! Is there a method to disable the right-click mouse button inside application. If i press my touchpad right button from my logitech keyboard then application directly exit. This is a problem when i put some data from my 'inside application' webview and inadvertently press the wrong keyboard button ! Many thanks ! Android device : Google tv with logitech keyboard k400r.
lemonisdead Well-Known Member Licensed User Longtime User Jan 27, 2016 #2 Hello, Perhaps this could help : https://b4x.com/android/forum/threads/mouse-support.24986/#post-144840 https://b4x.com/android/forum/threads/how-to-disable-enable-the-mouse-right-click.59626/ Upvote 0
Hello, Perhaps this could help : https://b4x.com/android/forum/threads/mouse-support.24986/#post-144840 https://b4x.com/android/forum/threads/how-to-disable-enable-the-mouse-right-click.59626/
hub73 Active Member Licensed User Longtime User Jan 27, 2016 #3 Code: Copy Sub Activity_KeyPress (KeyCode As Int) As Boolean Select KeyCode Case 4 Msgbox ("Right Click","Hello") Return True End Select End Sub Many thanks ! Upvote 0
Code: Copy Sub Activity_KeyPress (KeyCode As Int) As Boolean Select KeyCode Case 4 Msgbox ("Right Click","Hello") Return True End Select End Sub Many thanks !
Erel B4X founder Staff member Licensed User Longtime User Jan 28, 2016 #4 BTW, you shouldn't show a modal dialog in KeyPress event (with one exception which is the handling of the back key). Upvote 0
BTW, you shouldn't show a modal dialog in KeyPress event (with one exception which is the handling of the back key).