Questions tagged [focusmanager]

63 questions
0
votes
1 answer

WPF VB.net - Can multiple CommandBindings be executed for the same command?

In WPF I'm trying to use commands to set all the content in multiple textboxes at once. The following code is able to get a command on the toggle button to execute for which ever textbox has scope but I can't seem to get the command to execute for…
Greg Bouz
  • 13
  • 4
0
votes
1 answer

I want to set the focus to the first button in an ItemsControl which uses a template to generate buttons from a BindableCollection of objects

I am attempting to set the focus to the first button in an ItemsControl that is templated and bound to a BindableCollection NamesList in the ViewModel. In short, I have a set of buttons that are displayed, and I want the first one (top-leftmost…
CaptainCobol
  • 133
  • 1
  • 1
  • 10
0
votes
1 answer

How to keep focus of custom textbox within when there is validation error and many custom textbox are placed one after other

I am trying to set focus of a custom text box on validation error when they are placed next to each other. I have a made a CustomTextBox (Inherits from TextBox) in wpf. I have to keep two customTextBox one after other in main xaml file. What do I…
sst
  • 1
  • 2
0
votes
1 answer

FocusManager.FocusedElement won't bind on a page

I used to have a window with an attached property to track the focused control: FocusManager.FocusedElement="{Binding CurrentlySelectedTextBox, UpdateSourceTrigger=PropertyChanged, Mode=TwoWay}" CurrentlySelectedTextBox was a property in the…
Quasimodo
  • 57
  • 1
  • 13
0
votes
2 answers

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 for two years). So we are doing GUI and basically we extended JFrame and added a couple fields. Say we have a field named "Text 1" and "Text 2". When…
CppLearner
  • 16,273
  • 32
  • 108
  • 163
0
votes
1 answer

In which way is Angular Focus Manager WAI-ARIA compatible?

Someone please explain ARIA compatibility of Angular Focus Manager that is mentioned on this Github page.
0
votes
2 answers

setting the focus in one user control based on an action in another user control

One user control is a list box where each item in the list has a button. When the button is clicked, editable detail about the item is displayed in another user control. The detail knows what to display and how to display it via data binding to a…
Berryl
  • 12,471
  • 22
  • 98
  • 182
0
votes
1 answer

flex 4: IFocusManager.moveFocus() api has been removed, any alternative way

I am working on migrating our app to compile with Flex 4 framework libraries. One of the things I bumped into yesterday was the IFocusManager.moveFocus() api which was previously there in Flex 3, seems to have been removed from Flex 4. We make use…
Tejas
  • 1
  • 1
0
votes
2 answers

Android: How to bring focus to the updated view

I am loading data in a view having 3 rows(LinearLayout) with each row having 3 TextView, and updating the same view if the focus is on last TextView of a row and KeyEvent.KEYCODE_DPAD_RIGHT. I am able to update the view on…
bala
  • 168
  • 1
  • 8
0
votes
1 answer

WPF Microsoft Ribbon Control does not work with FocusManager?

I have a problem where I cannot get the FocusManager to recognize when a Ribbon Control has the focus. The logic is simple. I put the focus on a text box. I have tried both a RibbonText and Textbox. I see that when I click the Textbox the GotFocus…
Flyer
  • 1
  • 3
0
votes
1 answer

A bug in Flex SDK 3.4?? FocusManager.focusInHandler()

I have recently upgraded from Flex SDK 3.3 to SDK 3.4. Now I suddenly get this error message throughout the application: TypeError: Error #1009: Cannot access a property or method of a null object reference. at…
Maurits de Boer
  • 1,907
  • 4
  • 23
  • 30
0
votes
1 answer

Switching Focus between Jtables Query?

I have two Jtables Emplyoee and Manager.If I enter on Emplyoee Table then focus should go on Manager table.I used ChangeSelection but it is not working.
user2042166
  • 121
  • 1
  • 1
  • 6
0
votes
1 answer

Focus Manager issue in wpf

I have Popup window where dynamically attaching the UserControl. Here I need to set the focus for first control. If I use: FocusManager.FocusedElement="{Binding ElementName=txtcode}" on UserControl the cursor not coming. Could anyone help me to…
0
votes
2 answers

List focus on a particular item in that list dynamically

In my project i have a ListView for handling the list of a product. In that i have a list of 100 Items in that List view. Each and Every time i have been seeing the first row of the ListView.. If i need to see the data in the ListView Means, i need…
MGR
  • 382
  • 2
  • 7
  • 21
0
votes
1 answer

Focusing with FocusManager, ContentControl and DataTemplate

I'm trying to get (keyboard) focus work properly with an application of the following structure: ItemsControl DataTemplate for Item ContentControl DataTemplate for Content (multiple, depending on type) Some container …
OregonGhost
  • 23,359
  • 7
  • 71
  • 108