Insert a new tab

Hello!

How can i insert manually a new tab like in this photo from a button?

[attachment=0]ScreenServoy.PNG[/attachment]

thanks

You could use:

	var _panel = globals.svy_nav_getVisiblePanelNames()
	var _panelForm = _panel[2]
	forms[_panelForm].elements.tab.addTab(forms.products_dtl)