Top "Focus" questions

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

Focus event with dispatchEvent

When I trigger a focus event with dispatchEvent on an input box, its onfocus is called, but on the UI …

javascript events focus dom-events setfocus
Manual Focus using android camera2 API

I want to develop an Android Camera App for myself (can share it if there are interested people) that has …

android api focus android-camera2 lg
Inhibit Matlab Window Focus Stealing

Is there a way to tell Matlab not to steal window focus (from an external editor) such as Emacs) upon …

matlab focus plot window-management
WebBrowser control keyboard and focus behavior

Apparently, there are some serious keyboard and focus issues with WPF WebBrowser control. I've put together a trivial WPF app, …

wpf keyboard wpf-controls focus webbrowser-control
How set the focus of a input-TextField without having a stagereference?

I got a text-InputField: var textfield:TextField = new TextField(); textfield.text = ""; textfield.type = TextFieldType.INPUT; addChild(textfield); because this textfield …

actionscript-3 input focus textinput setfocus
Backbone.js focus event fires two events focus and focusin

The view part of my code using Backbone.js is something like this: var myView = Backbone.View.extend({ events: { 'focus .…

focus backbone.js dom-events focusin
AjaxToolkit ModalPopupExtender: How do I set focus to a control in the popup Panel?

When the user pushes the Button, I'd like to display a modal dialog box to capture a couple of values …

asp.net focus modalpopupextender
awesome: alt+tab just switches between two apps

I've just installed awesome as my wm. When I do alt+tab using awesome, it just switch two apps, it's …

window focus awesome-wm
How to detect when NSTextField has the focus or is it's content selected cocoa

I have a NSTextField inside of a NSTableCellView, and I want an event which informs me when my NSTextField has …

macos cocoa focus nstextfield first-responder
edittext inside scrollview, how to scroll to edittext when it gets the focus

have an edittext inside scrollview. (and there are other views inside scrollview above edittext.) When user presses the edittext, keyboard …

android focus android-edittext scrollview android-keypad