# addTab issue

**URL:** <https://forum.servoy.com/t/addtab-issue/7088>\
**Category:** Classic Servoy\
**Created:** [February 13, 2007, 2:53pm UTC](https://forum.servoy.com/t/addtab-issue/7088 "2007-02-13T14:53:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Karel\_Broer](https://avatars.discourse-cdn.com/v4/letter/k/bcef8e/32.png) [@Karel\_Broer](https://forum.servoy.com/u/Karel_Broer)\
**Post date:** [February 13, 2007, 2:53pm UTC](https://forum.servoy.com/t/addtab-issue/7088/1 "2007-02-13T14:53:52Z")

</div>

I’m having difficulties with showing the content of an added tab.  
In debug mode the content is showing fine, but in realtime nothing is displayed. ![:?]( "Confused")

This is how I add the tab and load the form:

```auto
var _button_nr = arguments[0]
var _form = globals.core_gCurrentFormName
var _tab_element_name = 'tabs'
var _relation = globals.core_gFormTabs[_button_nr].relationname
var _tab_form = globals.core_gFormTabs[_button_nr].form_name

forms[_form].elements[_tab_element_name].removeAllTabs()

if (_relation == null)
{

	forms[_form].elements[_tab_element_name].addTab( forms[_tab_form], '', '', '', null, null, null)

}
else
{
	forms[_form].elements[_tab_element_name].addTab( forms[_tab_form], '', '', '', null, null, null, forms[_form].foundset[_relation])

}

application.updateUI()

```

Servoy Developer  
Version 3.1.2-build 406  
Java version 1.5.0\_06-64 (Mac OS X)

Issue happens on Developer, Rich Client and Mac and Win.

---

<div class="post-metadata">

**Author:** ![Jan\_Blok](https://avatars.discourse-cdn.com/v4/letter/j/41988e/32.png) [@Jan\_Blok](https://forum.servoy.com/u/Jan_Blok)\
**Post date:** [February 13, 2007, 3:12pm UTC](https://forum.servoy.com/t/addtab-issue/7088/2 "2007-02-13T15:12:50Z")

</div>

we are unable to reproduce this, please provide sample solution at: [http://crm.servoy.com/servoy-webclient/ … oy\_support](http://crm.servoy.com/servoy-webclient/solutions/solution/servoy_support)
