Skip to Content

WD- Tabstrip have to make first tab as default tab

Hello ,

I have used TAB STRIP and it has 4 tabs(TAB1 , Tab2 , tab3, Tab4). Always when we open application , Tab4 is getting displayed first.

I need to set it has it needs to display TAB 1 has default tab and it should display first when i launch an application.

Please let me know the way.



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Aug 11, 2016 at 11:19 AM

    Hello Vijay,

    You can set the default tab by using selected tab feature of the TABSTRIP UI element.

    Please reward if useful.



    Add a comment
    10|10000 characters needed characters exceeded

    • Hello Vijay,

      You no need to code and bindings as well.

      Just use SELECTED TAB property put TAB_1 or TAB_2 or 3 4 etc ( what ever tab you want to display as default).

      also, ( Using binding)

      Create a context attribute of type string and bind it to tab strip ui element "selected tab" property.

      Populate this attribute with your required tab name ( TAB_1) in WDDOINIT method .



      tabs.PNG (13.9 kB)

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.