I've got one Form, custom drawing, no controls.
When I need to get the input from the user I go to OnKeyDown event and then map event's KeyData to a string** - so that I can recognize that user has pressed "ctrl X", etc, so everything is almost ok... the problem is with different keyboard settings and language specific letters - so for...
Hi all, I need to enable alt-<key> selection semantics for some Buttons in my application. If I write KeyDownEventListener for the Button, its not getting triggered when I press ALT key in the keyboard. Is there any way to enable alt key semantics for the buttons?
Thanks in advance
...
I have an EditText that is to collect input for a basic calculator. I want to bring up the numeric keyboard, and thus I set android:inputType to numberDecimal|numberSigned. Problem is, the EditText filters out all characters that aren't numeric, such as "(", ")", "/", "*".
I have tried overriding this behaviour by setting a custom Input...
Hi,
I have a login screen with two textfields (username and password). When the user clicks on either textfield, the keyboard appears and everything is fine. However, if the user clicks on the other textfield before clicking Done (on the keyboard) for the first textfield, the text for the username isn't saved. The only way to save the o...
I am looking for a reliable source that would provide some statistics on what keys are the most frequently mistyped.
For example: is "a" and "s" more commonly mistyped compared with "m" and "n"?
if yes what are the underlying data i.e. "a" is mistyped instead of "s" when the previous letter is "o" in 25% of cases but contrary "s" is mi...
Hi all,
I am planning to create a multi lingual keyboard using Java. can u give some ideas or suggestions for doing that? Is there any open source code or interface which i can use in my code?
...
I'm developing a little game. I use the following code to detect the keys pressed by the player:
private function onKeyDown(event:KeyboardEvent):void {
//moviment keys
if (event.keyCode == 37 || event.keyCode == 65) {
this.leftKeyPressed = true;
}
if (event.keyCode == 39 || event.keyCode == 68...
I am not sure if this bug really comes from my app or maybe really is a UIKit bug. Maybe someone here can clarify this.
There is a tableview. Each cell offers a disclosure-button to a "settings"-like screen that is a modal view. The modal view can be closed via a "Close"-button.
The modal view contains a UITextView.
Now here comes the...
Is there a way to detect if a key is currently down in JavaScript?
I know about the "keydown" event, but that's not what I need. Some time AFTER the key is pressed, I want to be able to detect if it is still pressed down.
P. S. The biggest issue seems to be that after some period of time the key begins to repeat, firing off keydown and...
I recently broke my finger and can now only type with my right hand. This has seriously impacted my typing speed. Since I write software for a living, this is a serious problem.
I have been doing some research, but haven't found a great solution yet. Here's what I've come up with:
Wacom tablet + hand writing recognition software. Is i...
I'm trying to implement a UITextView in a table cell at the bottom of a table view.
I've tried the suggestions here http://stackoverflow.com/questions/594181/uitableview-and-keyboard-scrolling-problem, and other solutions as well, but they're a bit different because I have to artificially add extra height to the current view in order to...
Hi can anybody tell me how to show a default numeric keypad on iPhone rather than a character keypad.
...
I'm working on a pre-existing codebase and I'm looking to have the user type any 1-2 digits followed by the enter key at any time during the code being run and pass that number to a function. Currently, user input is handled like so:
LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
{
int wmId, wmEvent...
Looked intoUIKeyboardAnimationDurationUserInfoKey but I just can't find anywhere how to set it to a custom value.
...
Hi,
i know that there is the possibility to set a special keyboard with these attributes. But i need my own keyboard as default. How can i do that? How can my app change the settings?
As an example, let's say: i want the example SoftKeyboard as default for my app.
Is that even possible?
Thanks for your efforts :)
...
How I can add additional condition of certain keyboard key, say, Ctrl-key state to WPF MouseLeftButtonDown event-handler?
private void Grid_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
{
...
}
...
I have a nice clean UI within a table view which has a few text fields for the user to fill out. One of the fields is for the user's birthday.
I'd like to have it so that when the user selects the birthday field, a view containing a UIDatePicker would come up as, just like the different keyboards do when selecting a text field.
Can thi...
Mac OS X 10.6 — Cocoa
I'm using global event monitor for displaying status item menu using custom keyboard shortcut:
globalEventMonitor = [NSEvent addGlobalMonitorForEventsMatchingMask:NSKeyDownMask handler:^(NSEvent *event)
{
if ([event keyCode] == kVK_F12)
{
[self handleGlobalShortcut];
// How to prevent syste...
I have a page full of radio buttons that I'd like to be able to tab through and then select options based on keyboard input. I'm hoping to get the keyboard input to work on radiobuttons in a similar way to how it works on dropdowns (typing the letter 'G' will automatically select the first option that starts with a 'G')
Is there a jque...
hi,
i have encountered a really weirdest bug in eclipse, i would love if someone will help with it.
after a while of coding eclipse simply starts to "mix up" with the letters that are being typed. meaning i press 's' and it displays a different letter 'o' and it happens for other keys as well d becomes an e...and so on.
the weird thin...