Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Tabbing problem with WinExplorerBar
posted

Hi,

I'm using NetAdvantage 9.1.  Basically, I've an UltraExplorerBar and three Ultrabuttons on the form.  There are six Groups within my UltraExplorerBar.  Within each group there are some controls.  For Group 1, there's an UltraTextEditor and UltraMaskEdit control.  For Group 2, there's an UltraWinGrid, and so forth.  My UltraExplorerBar.Style is set to Explorer Bar.  The problem I have is that even though I've set the tab order in the code in this order: Group 1, UltraTextEditor, UltraMaskEdit, Group 2, UltraWinGrid, Group 3, ..., Group 6, UltraButton1, UltraButton2, UltraButton3.  The actual tab order is different at runtime.  When the form is first loaded, Group 1 is expanded, meaning the UltraTextEditor and UltraMaskEdit control are displayed,  and the rest of the Groups collapsed.  Now if I start tabbing using the Tab key, the order of the control that gets the focus goes as follows:

Group 1
Group 2
Group 3
Group 4
Group 5
Group 6
UltraTextEditor in Group 1
UltraMaskEdit in Group 1
UltraButton1
UltraButton2
UltraButton3
Group 6
UltraTextEditor in Group 1
UltraMaskEdit in Group 1
UltraButton1
UltraButton2
UltraButton3
Group 6
UltraTextEditor in Group 1
UltraMaskEdit in Group 1
UltraButton1
UltraButton2
UltraButton3
Group 6
UltraTextEditor in Group 1
UltraMaskEdit in Group 1
UltraButton1
UltraButton2
UltraButton3
     .
     .
     .

As you can see, focus goes from Group 1 to Group 2, skipping the controls inside Group 1 even though Group 1 is expanded.  Another problem is that the focus goes from Group 6 to UltraTextEditor in Group 1 instead of the coded order, which is UltraButton1.  And once focus gets to UltraButton3, pressing the Tab key brings the focus to Group 6 (instead of Group 1) and that strange little cycle continues as the tabbing goes on.

First, shouldn't that if the focus is on a Group, and if that Group is expanded, then tabbing should go to each of the controls within that Group before going on to the next Group?  And once it gets to the last control (UltraButton3), shouldn't focus then go back to the first control, which is Group 1?  Is this a bug with the UltraExplorerBar or is there some properties that I missed setting?  And what do I need to do to make it work in the order that I've the tabindex set.   Any help will be appreciated.

  • 4219
    posted

    Hi,

     

    I think we have discussed this in a separate support ticket (CAS-51202-4PGC9W). In any case if anyone needs similar functionality I will post the sample and here as this way of tabbing is not built in functionality.

     

    Let me know if you have any new details to add or if you need any other assistance.

     

    Regards,

    Stefaniya

    TabbingModified.zip