Hi all,
I have a .NET WebBrowser control that I am using to display some javascript-heavy pages that I've written. The pages use YUI and have been built in a way to be portable.
I have just discovered that while I can capture keypress in javascript, I cannot seem to capture keyup or keydown in javascript. This prevents me from hooking ...
I am attempting to write a time management tool with wxPython that is ideally non-obtrusive and very much out of the way. The app so far can be used normally and minimized to the system tray for the duration of its use.
However, I notice that once the frame is not in focus, as it is when its 'Iconized', the mouse and keyboard trappin...
I have a UISearchBar which acts as a live filter for a table view. When the keyboard is dismissed via endEditing:, the query text and the gray circular "clear" button remain. From here, if I tap the gray "clear" button the keyboard reappears as the text is cleared.
How do I prevent this? If the keyboard is not currently open I want th...
Windows explorer in XP will allow you to make a file selection based on typing a few characters. I would like to know if there is any simplistic .net feature I can use to mimic this behaviour in a combobox? I think I've seen this happen in comboboxes before, and would like to know if there is a property I can use?
I know I could develo...
In WinForms, you can know, at any time, the current position of the cursor thanks to the Cursor class.
The same thing doesn't seem to be available for the keyboard. Is it possible to know if, for example, the Shift key is pressed?
Is it absolutely necessary to track down every keyboard notification (KeyDown and KeyUp events)?
Thank yo...
Is there a way to include a keyboard inside of a view?
I want it to be part of the view and not be dismissed as well.
Birdfeedapp does this in it's 'add account' modal view.
...
update: I've modified the code below to reveal some additional information regarding the key that was pressed.
update #2: I've discovered the root cause of the issue: we have an HTML control (Gecko rendering engine) on our form. When that Gecko rendering engine navigates to some Flash control, suddenly ~2% of our key presses don't get t...
I would like to perform key event detection in textbox. The key should combination of Ctrl+K, is there any best way to do it?
...
I'm using the method described by Josh in this question to add a toolbar to the top of the iPhone's keyboard. Basically, the idea is:
Add the view controller as an observer for the notifications UIKeyboardWillShowNotification and UIKeyboardWillHideNotification in its initialization method
Whenever those notifications are posted, animat...
While using UITextField in objective c, keyboard appears, after typing some figure I wanna move to another Textfield or button but neither the cursor removes from text field nor the key board disappears. Wat should i do?
tempTextField.borderStyle = UITextBorderStyleBezel;
tempTextField.textColor = [UIColor blackColor];
tempTextField.fon...
How to make a simple C program which will produce keyboard key hits.
if ( condition ) {
KeyPress('A');
}
I am working on Ubuntu 8.10 Linux OS
...
I'm having an EditText and a Button in my layout. After writing inside the edit field and clicking on the Button, I want to hide the virtual keyboard. I guess there should be a simple, one- or two-liner to make this happen. Where can I find an example of it?
...
I am looking for a way to send and receive keyboard information regardless of what app has focus. I remember back in College seeing a presentation about an old Windows API that let you change the cursor position and send right clicks and such.
Besides User32.dll is there a way to do this with the .net framework?
...
I want to use only alphabetic keyboard, how to restrict it? I've used following statement but it doesn't hide the button that converts keyboard in numeric one
tempTextField.keyboardType = UIKeyboardTypeAlphabet;
...
I want to handle the properties key press in CListCtrl in MFC and show a context menu which is already shown with right clicking. How can I do that?
...
I just basically want to switch to the number pad mode as soon a certain EditText has the focus.
...
I'm using a Toshiba Tecra M6 laptop, running Linux Mint as my default OS. I also have VMware player (6.5.0) installed to test some of the applications on Windows.
However, it really annoyed me when VMware does not provide proper keyboard mapping. My downward arrow would be mapped as the Windows key, while the Windows key does not work a...
I need to detect when the android software keyboard is hidden. My activity currently responds to when the hardware keyboard is hidden but the software keyboard looks like it can only be implied through a size changed event.
Does anyone know of a way that a view or activity can receive a notification when the software keyboard is hidden ...
Hello,
I'm looking for a way to slide the keyboard into view from the right, like what happens in the Contacts application when you edit a note.
My problem is that when I call [someTextView becomeFirstResponder] in viewWillAppear, the keyboard immediatly pops up with no animation. And when I call it in viewDidAppear, the view first sli...
I am using a UITextField to get input for a price field. Since it is for price, I wanted to make a custom keyboard for just a numpad and a decimal button. I have the keypad view setup, however, I dont' know how to disable the default iphone keyboard completely. Any ideas?
...