Tab order in a GroupBox
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Tab order in a GroupBox

  1. #1
    Join Date
    Jan 2014
    Posts
    2

    Tab order in a GroupBox

    Is there a way to ignore the group box level when setting tab order? I want to jump back and forth between text boxes in two group boxes as the user tabs. The boxes are just for appearance. Thanks.

  2. #2
    Join Date
    Jan 2006
    Location
    Chicago, IL
    Posts
    15,002

    Re: Tab order in a GroupBox

    You can manually set the tab order for each control. Start with the LAST ONE first, and move backwards. That way, they won't overwrite each other when you change the order.
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  3. #3
    Join Date
    Jan 2014
    Posts
    2

    Re: Tab order in a GroupBox

    Quote Originally Posted by dglienna View Post
    You can manually set the tab order for each control. Start with the LAST ONE first, and move backwards. That way, they won't overwrite each other when you change the order. Using show tabs also treats them as seperate groups.
    Thanks for the reply. Do you mean programmatically or just in the IDE in properties of each text box? I tried it by manually setting the tab index alternating from right to left group boxes, but it still treats them independently.

    Name:  tabOrder.png
Views: 95
Size:  5.2 KB
    Right and Left are group boxes and i want to tab from Right Position #1 to Left Posiition #1 then back to Right Position #2 and so on.

    Thanks.

  4. #4
    Join Date
    Jun 2005
    Location
    JHB South Africa
    Posts
    3,772

    Re: Tab order in a GroupBox

    [Split Topic]...

    Please post a new topic for your question, and do not revive old topics....
    Articles VB6 : Break the 2G limit - Animation 1, 2 VB.NET : 2005/8 : Moving Images , Animation 1 , 2 , 3 , User Controls
    WPF Articles : 3D Animation 1 , 2 , 3
    Code snips: VB6 Hex Edit, IP Chat, Copy Prot., Crop, Zoom : .NET IP Chat (V4), Adv. ContextMenus, click Hotspot, Scroll Controls
    Find me in ASP.NET., VB6., VB.NET , Writing Articles, My Genealogy, Forum
    All VS.NET: posts refer to VS.NET 2008 (Pro) unless otherwise stated.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center