Hello,
I have a subclass of UIAlertView with 2 UITextField for login / password.
My problem is that when I have finished to type my login and change the focus to the password field, there is a cursor on the login field and on the password field, but the focus is on the password field, so my question is, how can I make the cursor disapp...
(Problem occur in Ubuntu only. Works fine in Windows. I don't know in other Linux environments)
I have used the approach of the ComponentListener to call focus in JTextField within a dialog, but for this case is just not working, I don't know why. It shows the focus in the text field and fast change to the button. Run and see:
import j...
Hi,
I have a method called checkKeyCode(obj) which simply takes the character you type into a textbox and replaces it with its keyCode.
This method is called from onkeydown attribute of textbox input (onkeydown="return checkKeyCode(this)").
The problem is then I want to be able to press tab and focus to the next element. I don't have ...
Is it possible to allow focus on a disabled button? A vision impaired user noted that without being able to focus the button they wouldn't know that the button, and hence the option/functionality, exists in the form.
Thanks
ST
...
After I use my textfield I can't get a jpanel that click on back into focus for my keylistener. It works for the mouselistener but all other keystrokes keep being detected by the textfield not the jpanel.
The panel has been setFocusable(true) and works fine until i give the textfield the keyboard focus. It's like the textfield won't rel...
I have a function with a chain of filters in jQuery. I am trying to set the focus() on the first element of my last filtered set of elements.
This gives me my desired result set, so I've gotten that far:
$("div[class='st_d']").filter(function() {
return !($(this).css('visibility') == 'hidden' || $(this).css('display') == 'none');...
Ok, so I wrote an ExpandableListView and subclassed BaseExpandableListAdapter... Everything works fine except I cannot get the child views to take focus when clicked. If I use the trackball everything works fine. But if I try to click on a child I get no feedback whatsoever.
I have tried setting android:focusable, android:focusableInT...
I have 2 divs that each have clicks bound to them. when you click on a div a form is displayed (in another div) that allows you to set properties specific to the div that is clicked.
I'm using focusout to save the properties to a data object. everything is working perfectly except when i click on the other div. it seems that the click h...
Hello,
I have a Canvas and in it a Border. Now I want to give focus to this Border. Can somebody please tell me how do do this? Seems like it's not that easy ): Thanks for any hint!
...
I would like to add an IsFocused property to a custom textbox that I am working on, is there any way to do this?
...
Hello, I use a modalpopupextender to show a popup when the user clicks on a button.
<ajaxToolkit:ModalPopupExtender ID="mpe1" runat="server" TargetControlID="statusInfoLb" PopupControlID="statusInfoPanel" DropShadow="false"
OkControlID="okBtn" OnOkScript="onOk()">
</ajaxToolkit:ModalPopupExtender>
<asp:Panel ID="statu...
I am developing WPF Touch Screen Keyboard.
I need to know how is it possible to make main window non focusable, so other windows will be receiving the input when I click on virtual keyboard buttons.
Simple applying "Focusable="False"" to the main window and all child controls doesn't work.
...
I'm trying to find a reliable way to activate / set focus to a window of an external application using C#. Currently I'm attempting to achieve this using the following Windows API calls:
SetActiveWindow(handle);
SwitchToThisWindow(handle, true);
Previously I also had ShowWindow(handle, SW_SHOWMAXIMIZED); executing before the other 2, ...
I am writing an app for Blackberry and I have the following problem:
I have implemented a custom field by extending the Manager class. The field is quite simple, it consists of a label and two check boxes, yes and no. The fields are laid out so that the label is on the left and uses as much space as it can while still allowing room for...
Hi Folks,
I have a JavaScript chat client running in one browser tab (call it tab A). Now when a message arrives the user might be on another browser tab (call it tab B). I'm looking for ways to change the focus from tab B to my chat client (tab A) when such a message arrives. I could not find a way to do this. Any idea?
Thanks,
Max
...
in my application i get a component to focus ,
it could be a jpanel , and is could be a jbutton or a user custom made component
how can i know when to call transferFosus ,and when to call requestFocus
thanks you
...
I need to know if the user is currently viewing a tab or not in Google Chrome. I tried to use the events blur and focus binded to the window, but only the blur seems to be working correctly.
window.addEventListener('focus', function() {
document.title = 'focused';
});
window.addEventListener('blur', function() {
document.title = 'n...
In my android application it automatically focuses the first Button I have in my layout, giving it an orange outline. How can I set the initial focus preferably in XML, and can this be set to nothing?
...
I've got a control that derives from Forms.Control, it handles mouse events and paint events just fine, but I'm having a problem with key events. I need to handle Left arrow and Right arrow, but so far the Tab control that contains my class eats these.
How do I make this control selectable, focusable?
...
I've tried to implement a cursor focus on an input area and IE has given my a lot of headaches. I've tried things along the line of (changing the timeout too, to large numbers):
setTimeout(function() { document.getElementById('myInput').focus(); }, 10);
and it won't work. I've noticed that I have an applet on the page as well, and whe...