# Tab strip Default position -Vision

**URL:** <https://forum.inductiveautomation.com/t/tab-strip-default-position-vision/63232>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [August 20, 2022, 5:21am UTC](https://forum.inductiveautomation.com/t/tab-strip-default-position-vision/63232 "2022-08-20T05:21:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dharani\_T](https://avatars.discourse-cdn.com/v4/letter/d/bc8723/32.png) [@Dharani\_T](https://forum.inductiveautomation.com/u/Dharani_T)\
**Post date:** [August 20, 2022, 5:21am UTC](https://forum.inductiveautomation.com/t/tab-strip-default-position-vision/63232/1 "2022-08-20T05:21:21Z")

</div>

Hi,

I am using Tab strip component in vision project. Whenever the screen opens, the selected tab strip component is not proper. Is there any way to set the default tab like in perspective.’  
And also sometimes, tab strip is working only on double click.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![zxcslo](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zxcslo/32/61610_2.png) [@zxcslo](https://forum.inductiveautomation.com/u/zxcslo)\
**Post date:** [August 20, 2022, 2:05pm UTC](https://forum.inductiveautomation.com/t/tab-strip-default-position-vision/63232/2 "2022-08-20T14:05:11Z")

</div>

No, there is no default setting in Vision.  
You must code it in the window load (or activated) event…

---

<div class="post-metadata">

**Author:** ![jlandwerlen](https://avatars.discourse-cdn.com/v4/letter/j/bc8723/32.png) [@jlandwerlen](https://forum.inductiveautomation.com/u/jlandwerlen)\
**Post date:** [August 20, 2022, 3:45pm UTC](https://forum.inductiveautomation.com/t/tab-strip-default-position-vision/63232/3 "2022-08-20T15:45:01Z")

</div>

Maybe put in preview mode and set the selected tab, then this should be the default.

---

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [August 21, 2022, 5:37am UTC](https://forum.inductiveautomation.com/t/tab-strip-default-position-vision/63232/4 "2022-08-21T05:37:33Z")

</div>

It can be accomplished by using the internalFrameOpened event of the component’s parent window with this code:  
`system.gui.getParentWindow(event).getComponentForPath('Root Container.Tab Strip').selectedTab = "Name of the Tab"`
