Tab order reversed

Posted by: alexpwalsh on 19 September 2017, 10:51 am EST

    • Post Options:
    • Link

    Posted 19 September 2017, 10:51 am EST

    This is going to sound odd, but I’m going to try my best to convey my problem.

    I am using the C1DataGrid to display some C1NumericBox’s in essentially a time-entry form. My issue is that when running my code and I attempt to tab my way through the boxes and the tabbing works backwards - as if I was pressing Shift+Tab. The really funny thing - is that when I press Shift+Tab it works fine!

    I have attempted almost everything I can try, my progress can be found on the following link from StackOverflow.

    http://stackoverflow.com/questions/17619090/componentone-reversed-tab-order-on-c1datagrid

    I don’t understand why it acts as if I’m pressing TAB+SHIFT when I just press TAB…

  • Posted 19 September 2017, 10:51 am EST

    Sorry, this is a bug and already escalated to the dev. team.

    Please let me get an ETA on this and I will get back to you.

    Thanks

  • Posted 19 September 2017, 10:51 am EST

    Did you obtain an ETA on this?

  • Posted 19 September 2017, 10:51 am EST

    Not yet.

    There is a release scheduled this week, so this may be fixed in next hot fixes.

    Thanks

  • Posted 19 September 2017, 10:51 am EST

    Come on, C1 ?!?

    This was posted as a bug over 7 months ago. When are you going to fix it? It doesn’t give me much confidence that my issue (39381) will be fixed anytime soon - if at all.

    What is the status on this?

  • Posted 19 September 2017, 10:51 am EST

    Hello,

    Regarding your Support Issue : 39381, the issue is still with the development team and we do not have any ETA regarding the same.

    I have asked them to look into this issue with high priority and will get back to you as soon as I get any update from their side regarding the same.

    Also, if you wish to know the current status of the originally posted issue here on this thread - “Tab order reversed”, then please let me know.

    We deeply regret all the inconvenience caused.

    Regards,

    Reema

  • Posted 19 September 2017, 10:51 am EST

    Hi,

    any news about the TAB ORDER problem? This BUG also affected the C1NumericTextbox and it’s really annoying.

    Please come on, it’s a serious bug and a serious company should answer in weeks not months!

    I confirm that this BUG still persists in the 2014v1.

    Please let us know also in this thread if you can so other users might found this information.

    Regards,

    PiV

  • Posted 19 September 2017, 10:51 am EST

    Hello PiV,

    Please accept our sincere apologies for the delay this issue took.

    However, as per the development team, there is no way to fix this issue.

    We regret for all the inconvenience caused.

    Regards,

    Reema

  • Posted 19 September 2017, 10:51 am EST

    Hi Reema,

    I can’t figure out why isn’t possible to fix that problem.

    I try to explain the problem in detail: when i.e. C1NUMERICBOX is inside a TAB ORDER, when the focus reaches that control, and you press TAB to continue, the next FOCUSED CONTROL is moved to the WRONG NEXT ONE (I’ve made many test and there isn’t a specific behavior, simply your control wrong to move the next focus in the tab order).

    My current workaround is to change the TABNAVIGATION like this:

    (code version)

    KeyboardNavigation.SetTabNavigation(control, KeyboardNavigationMode.None);

    Unfortunately this disable the SHIFT+TAB (very strange) so I’ve to manually add an event for every C1 control that checks when the SHIFT+TAB keystroke is pressed:

    (basic version of my patch)

    if (e.Key == Key.Tab) && (Keyboard.IsKeyDown(Key.LeftShift) || Keyboard.IsKeyDown(Key.RightShift))

    {

    TraversalRequest tRequest = new TraversalRequest(FocusNavigationDirection.Previous);

    if (sender != null)

    {

    tRequest.Wrapped = true;

    (sender as UIElement).MoveFocus(tRequest);

    e.Handled = true;

    }

    }

    That code solves the problems for the C1 CONTROLS (and I underline that this happens only with your controls). I hope that this could be useful to solve the bug.

    Thanks in advance for your support.

    Regards,

    -Albert

  • Posted 19 September 2017, 10:51 am EST

    Helo Albert,

    Please have a look at the attached sample which works correctly on my Windows 7 32 bit machine using the latest C1WPFLibrary Build : 4.0.20141.391 available at :

    http://prerelease.componentone.com/dotnet40/C1WPFLibrary/2014-T1/

    After the C1NumericBox gains focus via Tab key and then again the Tab Key is pressed, then the focus shifts to the next control in the Tab Order correctly.

    If the issue persists with the latest build too, then I would request you to please share a stripped down sample of your code replicating the issue so that I could debug the same at my end provide you with appropriate assistance.

    Regards,

    Reema

    2014/04/prj_TabMovement.zip

  • Posted 19 September 2017, 10:51 am EST

    Hi Reema,

    probably this could be my mistake but look what it happens when you put those controls inside an User WPF Control. This is my current situation for which I applied the code written in my previous post.

    Am I miss something in the User Control creation?

    Regards,

    Albert

    2014/04/prj_TabMovement1.zip

  • Posted 19 September 2017, 10:51 am EST

    Hello Albert,

    Using the TabIndex sequencing applied in the UserControl for different controls, I could observe the issue when the controls were placed on the Window as well.

    I have escalated the issue to the concerned team for further review and will get back to you as soon as I get any information from their side regarding the same.

    Regards,

    Reema

  • Posted 19 September 2017, 10:51 am EST

  • Posted 12 October 2018, 12:06 am EST

    Hello,

    I am facing the same issue ‘Tab order reversed’. I am using the C1DataGrid 4 to display some C1NumericBoxes, ComboBoxes, etc dynamically. My issue is that when running my code and I attempt to tab my way through the boxes, the tabbing works backwards - as if I am pressing Shift+Tab.

    Please let me know the solution for it.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels