keyevent Questions
5
Solved
I have a TabActivity and want to catch and handle presses of HOME and BACK. Where do I need to catch these events?
In my subclass of TabActivity I implement the following:
@Override
public boolea...
3
Solved
I have a question about a KeyListener.
When I get the KeyEvent and do a getKeyChar() I'm tyring to compare to and * asterisk and I was going to use one of the KeyEvent.VK_ defines which works for a...
Candler asked 27/2, 2012 at 14:57
2
I need to simulate Enter key event in Qt. How can I do this?
1
Solved
I've an element that can be dragged using native HTML5. It has dragstart, drag, and dragend event listeners assigned to it. In addition, I also have keydown and keyup event listeners assigned to do...
Loophole asked 5/9, 2011 at 16:0
2
I am currently developing a web page designed for browsers and mobile devices and am having trouble with blackberry's
The functionality I want is to trigger a popup when a key is pressed. My curre...
Abbottson asked 26/10, 2011 at 17:22
2
Solved
i'd like to create JTextField with input characters limited to someting like
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVXYWZZ0123456789+&@#/%?=~_-|!:,.;"
so i tried overriding
public cla...
Devalue asked 5/10, 2011 at 8:0
4
Solved
I just read this question: Full Screen Page by pressing button instead of F11
The op asked to replace F11 with other hot keys, so I'm wondering that maybe I can simulate press F11 to get things wor...
Massimo asked 21/6, 2011 at 15:50
1
Solved
I've read the definite tutorial on key bindings a few times, but my brain cache doesn't seem large enough to hold the complicated processes.
I was debugging a key binding problem (turned out I was...
Stoll asked 14/10, 2010 at 3:45
3
Solved
I have a section in my GUI that is generated dynamically according to a list of objects.
So, for each object in that list I want to create a JButton and associate a keyboard shortcut.
For example:...
3
Solved
I'm currently trying to create a little remote-app for Android to control a MediaPlayer (like Rythmbox) on my PC.
Most media-players understand the special keys on my keyboard (like "play/pause" o...
Kallman asked 4/6, 2011 at 10:53
4
Solved
I used KeyDown event and some simple code like if (e.KeyCode == Keys.F1) to capture F1 is pressed on a form BUT if there are some text boxes on the form or if there are some spreadsheets with Dock ...
1
Solved
I'm trying to embed some keybindings in my webapp, and I'm having hard times with Opera. I have this code:
window.onkeydown = function(e){
var key = e.keyCode ? e.keyCode : e.charCode ? e.charCod...
Becharm asked 23/1, 2011 at 12:47
2
Solved
I am working on a auto search function for a site.
It uses ajax to query an api.
At the moment after 3 characters are entered it will search on every key press.
What I want is
Case1:
User e...
2
I've tried to override WndProc, but no message show up on paste event.
Then I tried to create custom filter and using method PreFilterMessage I was able to catch message with value 257 (KEYUP even...
© 2022 - 2024 — McMap. All rights reserved.