Tabindex for tabitems

4 posts, 0 answers
  1. Lamees Afify
    Lamees Afify avatar
    10 posts
    Member since:
    Mar 2008

    Posted 01 Jul 2008 Link to this post

    Hey,
        Is there anyway to set the TabIndex property for the tabs in RadTabstrip? I want to set the tabindex of every tab so the user can select them and that they look different when their taborder is hit by the user Tab key but there is no such property.
    Thanks
  2. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 04 Jul 2008 Link to this post

    Hello Lamees Afify,

    TabItem does not support TabIndex property for tab selection. This is because Tab key e processed differently than the other keys in WidowsForms. The Tab key is used to move between separate controls and therefore events like KeyDown, KeyUp and KeyPress are not fired for controls.

    However, there is a workaround for you that I can offer. This workaround allows you to switch between the tabs in RadTabStrip pressing the Tab key. Two approaches are demonstrated:
    1. Switching between tabs depending on their order in the RadTabStrip.Items collection.
    2. You can use the Tag property to set a value, which later will be used as a TabIndex value.
    If you have additional questions, feel free to contact me.

    Sincerely yours,
    Nikolay
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
  4. NewBee
    NewBee avatar
    3 posts
    Member since:
    Jan 2009

    Posted 02 Nov 2009 Link to this post

    Do you have the RadTabStripTab example in VB?  I don't know C#.
  5. Nikolay
    Admin
    Nikolay avatar
    1803 posts

    Posted 05 Nov 2009 Link to this post

    Hi NewBee,

    Feel free to use our C# to VB.NET code converter www.codechanger.com. It will help you translate the RadTabStrip example into VB.NET.

    If you have additional questions, feel free to contact us.

    Regards,
    Nikolay
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Back to Top