focus Questions

14

Solved

I have some textboxes where I would like focus to behave a little differently than normal for a WPF application. Basically, I would like them to behave more like a textbox behaves on a webpage. Tha...
Provocative asked 27/6, 2011 at 5:46

5

It is possible to set focus using setFocus method from nativeEloment. But how about remove focus? How could I remove the cursor from and unselect an input from a template in a Angular 2+/Ionic 3 ...
Miltonmilty asked 2/5, 2017 at 20:23

4

Our website involves some javascript that produces overlay modal windows. There is one accessibility problem with this though, once the modal is triggered, the focus is still on the trigger elemen...
Endowment asked 16/11, 2010 at 15:15

6

Solved

I'm trying to get a piece of code work which should focus an EditText in an AlertDialog as soon as it shows and then automatically open the soft keyboard. Instead, it just makes the screen go darke...

3

Solved

I'm using React 16.13.0 and material's KeyboardDatePicker component -- https://material-ui-pickers.dev/api/KeyboardDatePicker . I have set it up like so ... import { KeyboardDatePicker, Keyboard...
Whiffen asked 15/4, 2020 at 20:27

1

if I have a <div tabindex="1" id="mydiv">content</div> I can click on it, it will show an outline, and document.activeElement points to this element. However, if I run document.getElem...
Disused asked 14/1, 2015 at 1:45

8

Solved

When a standard WPF button is clicked, it gets highlighted in blue (probably using the blue color from whatever Windows theme is set), and it stays highlighted until you interact with any other con...
Nadabas asked 10/5, 2011 at 12:53

8

Solved

I everyone. I currently have a problem with my focus when using a splash screen. I am using VS2008, with .NET framework 2.0. Also, I have linked my project with the VisualBasic.dll since I use the ...
Demise asked 7/10, 2010 at 17:27

11

Solved

How can I tell my TabControl to set the focus to its first TabItem, something like this: PSEUDO-CODE: ((TabItem)(MainTabControl.Children[0])).SetFocus();
Barrier asked 4/8, 2009 at 12:11

11

Solved

Is it possible in JavaFX to change the focus traversal policy, like in AWT? Because the traversal order for two of my HBoxes is wrong.
Sawtelle asked 6/3, 2013 at 4:21

5

Solved

This has been asked here before, but several years ago, and there was no cross-platform solution at the time (other than the setTimeout solution, which is really not very handy). I'd like to do on...
Prodigy asked 17/8, 2011 at 16:15

2

I have a python / matplotlib application that frequently updates a plot with new data coming in from a measurement instrument. The plot window should not change from background to foreground (or vi...
Bloomy asked 31/5, 2017 at 7:28

3

I have created a ListView whose children consist of a single EditText. However, when I click on the EditText, giving it focus, then notifyDataSetChanged(), updating the ListView, then click on any ...
Emboly asked 31/3, 2014 at 22:18

1

Solved

I am currently trying to style the border color of a select box using react-select which I have managed to do but for some reason when I activate the select box and hover over the options given the...
Loper asked 21/7, 2021 at 10:51

4

I am trying to give focus to a window if the user clicks on another window. Right now i have two windows: Window A is behind, and Window B is in front. When Window B appears, it disables Window A....
Bigham asked 5/9, 2012 at 11:51

2

I know that there are quite some questions out here regarding this question. But non of them have the answer that I'm looking for. I've got 7 ET inside a ScrollView. When I start the application n...

4

Solved

I am able to make a hidden div show/hide when an input field is in focus/blur using the following code: $('#example').focus(function() { $('div.example').css('display','block'); }).blur(functio...
Cascara asked 11/3, 2010 at 15:53

54

Solved

I have an Activity in Android, with two elements: EditText ListView When my Activity starts, the EditText immediately has the input focus (flashing cursor). I don't want any control to have input...

6

Solved

I am facing the strange problem with my application. Actually when i am presenting a view controller for play the video. At the video load time user press the menu button the application goes to ba...
Misbehave asked 16/11, 2016 at 14:27

7

Solved

I'm trying to implement a very simple use case, a UI feature, where: There is a label with some content in it If clicked, a text input replaces it with the content of label available User can edi...
Colour asked 31/3, 2017 at 16:29

3

Solved

How to know when the focus is lost in a react native textInput? For example I want to do an action when the user touches outside the textInput and it loses focus.
Flashbulb asked 13/4, 2017 at 18:3

2

This is a fairly simple question but I can't believe all answers I found were not working. I have a layout with two EditText and the bottom of the window is just some remaining blank space. I'd li...
Scheldt asked 29/2, 2016 at 15:29

20

This question has been asked in a few different formats but I can't get any of the answers to work in my scenario. I am using jQuery to implement command history when user hits up/down arrows. Whe...
Qualification asked 29/6, 2009 at 2:39

10

Solved

Some thoughts are that the ELEMENT_ID.focus() is inside divs that are hidden at certain times. This should be an easy problem to solve -- but I'm struggling :( ***code works fine -- the text fie...
Foscalina asked 7/3, 2012 at 5:43

4

Solved

I am banging my head on what looks like such a simple problem to fix in wpf but i have yet to discover why i can't get my app to behave according to my plan. I have a small search box that pops-u...
Herndon asked 19/12, 2012 at 15:12

© 2022 - 2024 — McMap. All rights reserved.