Updating to the last i3 build of Servoy 7.2 (build 2016) we discovered that the last optional argument of the TabPanel.addTab is missing.
According to the documentation in the Wiki:
- Code: Select all
addTab
BooleanaddTab(form/formname, [name], [tabText], [tooltip], [iconURL], [fg], [bg], [relatedfoundset/relationname], [index])
Adds a relationless or related form as a tab in a specified tabpanel.
Parameters
form/formname – the specified form/form name you wish to add as a tab
[name] – the specified name for the tab or NULL (default is null)
[tabText] – the specified text for the tab (default is null)
[tooltip] – a specified tooltip for the tab (default is null)
[iconURL] – a specified icon image or icon URL for the tab (default is null)
[fg] – the HTML RGB Hexadecimal foreground color for the tab (default is null)
[bg] – the HTML RGB Hexadecimal background color for the tab (default is null)
[relatedfoundset/relationname] – the specified name of the related foundset (default is null)
[index] – the specified index of a tab, default is -1, will add tab to the end
However in Servoy Developer, the last index argument is missing and we get code warnings.
My question is: is the index argument removed from the API and will no longer be available or is this a regression bug introduced in the last build (or some of the prior intermediate builds of 7.2) If the argument is intentionally removed and will not be available, how can developers specify the position of new tabs on the tabpanels?