Top "Focus" questions

Focus indicates the component of the graphical user interface which is currently selected to receive input.

Android custom ListView with ImageButton is not getting focus

I am developing an app for android TV. I have a listview with an ImageButton + Textviews as children. As TV …

android android-listview focus imagebutton
Keep NSWindow front

I open a NSWindow from my main NSWindow. DropHereWindowController *dropHereWindowController = [[DropHereWindowController alloc] initWithWindowNibName:@"DropHereWindow"]; [dropHereWindowController showWindow:nil]; I want this …

macos cocoa focus nswindow
Disable onfocus event for svg element

I realized that tabindex=-1 doesn't work for <svg></svg> elements. Is there a way to …

html events svg focus
QLineEdit: Set cursor location to beginning on focus

I have a QLineEdit with an input mask, so that some kind of code can easily be entered (or pasted). …

c++ qt focus qlineedit
TabIndex vs. KeyboardNavigation.TabIndex in WPF

What is the difference between TabIndex and KeyboardNavigation.TabIndex in WPF? When to use each?

.net wpf focus tabindex keyboard-navigation
Camera focus distances

I'm trying to read the focus distance (distance of subject in a photo) from an Android camera. I keep getting 0 …

android focus camera native distance
TabIndex not working as expected

I am developing a registration form in ASP.NET, as usual it has lots of textboxes. I have created tabindices …

html asp.net focus tabindex
Windows 7: Prevent application from losing focus

I have a self-made fullscreen application for Windows 7 written in C++ which should run for a long time on its …

windows-7 focus windows-shell
Know who got the focus in a Lost Focus event

Is it possible to know who got the focus in a lost focus event? Compact Framework does not have an …

c# compact-framework focus
Simplest way to tab only through focusable descendants of a particular element?

Let's say I have a document full of focusable elements, either because they are innately focusable (like <input type="…

javascript html focus tabindex