Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7560073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:48:13+00:00 2026-05-30T12:48:13+00:00

Im using WPF and C#. I have an application with an OnScreenKeyboard made with

  • 0

Im using WPF and C#.
I have an application with an OnScreenKeyboard made with buttons.
When I press the tab button in the OnScreenKeyboard it does this:

if (IsEnterEnabled){
  CurrentTextBox.MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
}

CurrentTextBox is a Control.

When a textbox is focused it works fine and move to the next focus, even if the next focus is a comboBox, but if the current focus is in an editable combo box it doesnt move to next focus element.

If the combo box is not editable, it works.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T12:48:15+00:00Added an answer on May 30, 2026 at 12:48 pm

    Since the ComboBox has a TextBox inside it which currently has focus, telling ComboBox to move next will only move to the TextBox. Instead, get the inner TextBox and move next on that:

            var s1 = FocusManager.GetFocusedElement(this);
            if (s1 is FrameworkElement)
            {
                ((FrameworkElement)s1).MoveFocus(new TraversalRequest(FocusNavigationDirection.Next));
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my WPF application I have some drawing functionality. I have solved this using
I have wpf application in which I am using ENTER key as TAB &
I have a wpf application using mvvm approach. The main window contains a tab
I have this WPF application using NHibernate and lazy data loading. I also use
I have an application I am creating in WPF, using MVVM pattern. In this
I have WPF application project and I'm using EF. I want something like this.
I have a WPF application using Aero Glass. When using the application under a
I have a WPF Application using Fluent NHibernate 1.0 RTM and System.Data.SQLite 1.0.65 that
I have a very simple WPF application in which I am using data binding
I have an application which I am developing using WPF\Prism\MVVM. All is going well

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.