Scripting tabs

Hi All,

I found it a little bit inconsistent that scripting functions for split tabpanels are different from the other types of tabpanels.
This function is not available, for example:

org.mozilla.javascript.EcmaError: TypeError: Cannot find function getTabRelationNameAt in object SPLITPANE[name:tabs_main,x:0,y:0,width:995,height:720]

…as well as getMaxTabIndex() and other.

I am doing a standard routine for any form that has tabpanels and need to loop through all tabs, but get stuck this way when I come accross a split pane.

Reckon I can use solutionModel to get things done, but still, consistency is always nice :)

Cheers,
Maria

maria.kyselova:
Hi All,

I found it a little bit inconsistent that scripting functions for split tabpanels are different from the other types of tabpanels.
This function is not available, for example:

org.mozilla.javascript.EcmaError: TypeError: Cannot find function getTabRelationNameAt in object SPLITPANE[name:tabs_main,x:0,y:0,width:995,height:720]

…as well as getMaxTabIndex() and other.

I am doing a standard routine for any form that has tabpanels and need to loop through all tabs, but get stuck this way when I come accross a split pane.

Reckon I can use solutionModel to get things done, but still, consistency is always nice :)

Cheers,
Maria

Please open a case for this.

lvostinar:
Please open a case for this.

Done, https://support.servoy.com/browse/SVY-3282

Thanks,
Maria