# Unable to access tab panel

**URL:** <https://forum.servoy.com/t/unable-to-access-tab-panel/15041>\
**Category:** Classic Servoy\
**Created:** [November 15, 2011, 10:28am UTC](https://forum.servoy.com/t/unable-to-access-tab-panel/15041 "2011-11-15T10:28:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sambitc](https://avatars.discourse-cdn.com/v4/letter/s/5e9695/32.png) [@sambitc](https://forum.servoy.com/u/sambitc)\
**Post date:** [November 15, 2011, 10:28am UTC](https://forum.servoy.com/t/unable-to-access-tab-panel/15041/1 "2011-11-15T10:28:03Z")

</div>

Hi ,  
I am facing some kind of peculiar problem.

I have a form(mainFrm) with tabPanel named “tab1” and the tabPanel contains one form named “frm1”.  
onShow event of the “mainFrm” I want to make the tabPanel(tab1) invisible.

But the problem is that :  
When I trying to access that tabPanel(tab1) programatically, I am getting result undefined.

ex: application.output(elements.tab1);  
CONSOLE :  
Undefined

But the strange thing is that, It is working fine when I removed the form(frm1) from the tabPanel(tab1)

I couldn’t understand what is happening. ![:roll:]( "Rolling Eyes") ![:roll:]( "Rolling Eyes")

---

<div class="post-metadata">

**Author:** ![jcompagner](https://yyz2.discourse-cdn.com/flex010/user_avatar/forum.servoy.com/jcompagner/32/4889_2.png) [@jcompagner](https://forum.servoy.com/u/jcompagner)\
**Post date:** [November 22, 2011, 9:03am UTC](https://forum.servoy.com/t/unable-to-access-tab-panel/15041/2 "2011-11-22T09:03:58Z")

</div>

please make a sample solution that demonstrates that and attach it to a jira issue.

tab1 element should always be there in an onshow of the form that holds it.
