Top "Focusmanager" questions

Can't set focus to a child of UserControl

I have a UserControl which contains a TextBox. When my main window loads I want to set the focus to …

wpf focus user-controls focusmanager
How do I use requestFocus in a Java JFrame GUI?

I am given an assignment but I am totally new to Java (I have been programming in C++ and Python …

java swing user-interface focusmanager
How do you solve this LostFocus/LostKeyboardFocus issue?

Ok, I have a control that has an IsEditing property which for argument's sake has a default template that is …

wpf lost-focus focusmanager lostfocus keyboardfocusmanager
Change focus to next component in JTable using TAB

JTable's default behavior is changing focus to next cell and I want to force it to move focus to next …

java swing focus jtable focusmanager
Change Dynamically FocusManager.FocusedElement

I have WPF xaml code like below: <StackPanel FocusManager.FocusedElement="{Binding FocusedElement}"> <TextBox Name="txtbox1" Text="FirstText"/&…

wpf bind focusmanager
Setting Focus on a Control Within a ControlTemplate (Part 2)

I'm stumped on what must surely be one of the most common WPF requirements. I've read this question but my …

wpf xaml focus controltemplate focusmanager
WPF FocusNavigationDirection, MoveFocus and Arrow keys

I have a simple application (a grid with 6 buttons - 2 rows of 3 - on it for testing) and am handling …

c# wpf keyboard focusmanager
Setting focus in WPF with MVVM

I have Grid with multiple Textboxes. Depending on actions the user might take focus should be changed to one of …

c# wpf data-binding mvvm focusmanager
Transfer cursor from one JTextField to another on Enter press?

I have one JTextField called Name and one JTextArea called Address. My requirement is when user has entered name in …

java swing focus awt focusmanager
Focus Textbox using FocusManager.FocusedElement issue

I'm trying to set the keyboard focus to a textbox that is included in a stackpanel. When the IsEditMode becomes …

wpf textbox focusmanager