Nokia Active Member Licensed User Longtime User Sep 28, 2023 #1 On the mouse event click, how can I tell if any key combination is being held down during the click? For example, If I double click a control or pane, I want to know if the "Control" key, "Shift" key and "E" key (Control+Shift+E) is held down.
On the mouse event click, how can I tell if any key combination is being held down during the click? For example, If I double click a control or pane, I want to know if the "Control" key, "Shift" key and "E" key (Control+Shift+E) is held down.
stevel05 Expert Licensed User Longtime User Sep 28, 2023 #2 You can only check if the Modifier keys are pressed from the MouseEvent and not specific keys. If it is really necessary, you could use a mousepressed and mousereleased events to monitor the mouse state and a KeyPressed and/or KeyReleased event to listen for the keypresses and check the mouse state. Upvote 0
You can only check if the Modifier keys are pressed from the MouseEvent and not specific keys. If it is really necessary, you could use a mousepressed and mousereleased events to monitor the mouse state and a KeyPressed and/or KeyReleased event to listen for the keypresses and check the mouse state.