I have two rows and each row having one editfield and datefield. When move trackball horizontally to gain focus on the datefield then there is no way to come out from this field. It always changing date but not moving to another field. This behavior is not found on the Blackberry Simulator but only at the actual device i am using 8800 de...
I am working on a silverlight application with a significant number of invisible tab stops.
I am currently busy trying to track them all down and eliminate them.
I am aware that any control that inherits from System.Windows.Controls.Control can take focus and yet I still can't identify where the focus is be going for much of the time wh...
Given the following:
setting IsTabStop to false on a ContentControl will not prevent its content from acting as a tab-stop
setting IsTabStop to true will result in an invisible tab-stop, which does nothing, in your application
I have the following two questions:
Why is IsTabStop true by default for the ContentControl
Why would I ev...
I just installed a script to focus at my first input field, which is toward the footer. The focus works great, but the page scrolls to the bottom after loading.
Can I still use the focus and stop the page from scrolling down to the first input field?
http://www.ubspack.com/
...
I use tabs in my Android application and one of my tabs contains a listview. I'm noticing some weird behavior when I override isEnabled in my list's adapter and then try to use the D-pad to move up and down through the list and to my tabs.
If the 0th item of the list is enabled, then everything works as expected - I can move down thr...
I have a (hopefully) quick question. I've got some stepper boxes. Though really this could apply to any interactive component. I want the selected box to lose focus when when I click anywhere else ( stage included ). Is there an easy way to do this? I can't seem to find an effective way to make it lose focus.
...
I have a jQuery script below that clears the value of an input on focus and puts it back on blur if the input remains empty. It works great, but here's the problem:
Let's say I have 3 input fields on the same page. I click on the first one with the value "Name", defaultValue variable becomes "Name" and the field clears. If I click out, ...
I have an application (say App1). It has a datagrid that holds data items. If I right mouse click on a data item it brings up a "Item Details" window. However, App1 doesn't do this directly. Instead, it talks to another application, say App2, and App2 actually displays the "Item Details" window. My problem is as follows:
1. Bring up App2...
Hello there,
I am continuing to program some kind of keyboard navigation in my simple graphic program (using C#). And I ran into trouble once again.
My problem is that I want to process the keyboard input to move a layer around. Moving the layer with the mouse already works quite well, yet the control doesn't get the focus (neither K...
I have an application using the following code to get input based on a file generated from a third party application.
protected override bool ProcessCmdKey(ref Message msg, Keys keyData)
{
const int WM_KEYDOWN = 0x100;
const int WM_SYSKEYDOWN = 0x104;
if ((msg.Msg == WM_KEYDOWN) || (msg.Msg == WM_SYSKEY...
I have subclassed ExpandableListActivity to create an activity that
presents a simple tree view of the 'world at large' and allows the
user to select one for further use by the app. I am having trouble
setting focus programatically. One thing that baffles me is that I can
use the D-pad to set focus on any of the child or group items in m...
I want to write a custom control (a text editor) for Windows Forms, which should include the following functionality:
Gets the keyboard focus, when you click on it with the mouse
Sees all keyboard input (including cursor keys), when it has the focus,
Can run in a semi-trusted environment, with UIPermissionWindow.SafeTopLevelWindows (i...
Hello.
In my window I have the listview and other elements. How I can achieve such behavior of focus: when I press downkey on last listitem focus moves from listview on another element, accordingly pressing upkey on first element moves focus away from list.
So focus on pressing up-downkeys can move from other elements to the list, pass...
Hi there. I am trying to use a keyhandler function to change the focus to different list items. So, when the user hits the page down key, for example, I want to focus on the list item below the one that currently has focus. Similarly for page up. Roughly, I have the following setup:
<html>
<head><title>blah</title></head>
<body>
<ul...
Parent window opens a child window.
User toggles to Parent window.
Can a button/link in the Parent window bring the child window into focus? (I tried a quick and dirty test and it worked in Safari in OSX...and it works) Will this work across Grade A browsers?
If the parent window is closed...
Can another window target the child and ...
I have been looking into how you could use Javascript to direct focus to a Flash movie. I've seen it discussed on Stack Overflow and other sites and it seems you cannot do this reliably except in Internet Explorer. I am just calling the .focus() method on a Flash object via Javascript.
It does in fact work in Internet Explorer, but I ...
Is it possible to focus on a <div> using javascript focus() function?
I have a <div> tag
<div id="tries">You have 3 tries left</div>
I am trying to focus on the above <div> using :
document.getElementById('tries').focus();
But it doesn't work. could someone suggest something....?
...
I have an application that is designed to pop up a question when a phone call ends using a BroadcastReceiver and a PhoneStateListener.
My problem is, when a call is received while the user is not currently using my application, the dialog is not displayed until the application is manually started. I would like either for the dialog to b...
I want to make a Java swing button 'not-focussable'.
The button should not receive focus at all, but should be able to receive mouse clicks.
I thought the following options, but these either dont solve my problem completely, or dont seem elegant. Are there any other/better/suggested options?
Move the focus to the next component immed...
I have a WPF form where a text box and label is present.In the "Lost Focus" event of text box, i am doing some validation and if the validation fails i will show an error message in the label and put focus back on the textbox. The problem is since i put the focus back on the text bos,the "Lost_Focus event s again fired and my validation ...