tabIndex not working

I have a table which stores the tab navigation of a solution (called HEAD) with a field ‘tab_number’ which stores the relative tab.
E.g. tab_number = 1 (contact), 2 (orders), 3 (purchases) etc.

I have applied the following code to a button in a navigator form which resides on the form ‘reqt_frm_main’:

The code works correctly in the Smart client but won’t navigate to tab 1 in the Web client - does anyone know why this would be? Does a tab_panel have to have a property to be able to navigate to.
I have tried redrawing the form and tab panel to ensure the tab panel order is correct. I have even tried placing the first panel as last and changing the order without success.

I am using Servoy 4.1.5 build 687 on Windows Vista but the problem originated in 4.1.4.

var tabnumber = forms.head_tbl_nav.tab_number
forms.reqt_frm_main.controller.show()
forms.reqt_frm_main.elements.mainpanel.tabIndex = tabnumber

Any error(s) in the log ? What happens in web client when setting tabIndex to 1 ? What happens if you set it to another value (2,3) ?

No errors in log. I have adjusted the code to force the tab 1 to show without success and yet tabs 2 to 9 work

var tabnumber = forms.head_tbl_nav.tab_number
forms.reqt_frm_main.controller.show()
forms.reqt_frm_main.elements.mainpanel.tabIndex = 1
forms.reqt_frm_main.elements.mainpanel.tabIndex = tabnumber

When I click on the record where head:tab_number = 1, tab_number does show 1 in the debugger at runtime.

Hmm, strange. You can open a case with a sample and we’ll have a closer look.

Bizarre - if I do this…

var tabnumber = forms.head_tbl_nav.tab_number
forms.reqt_frm_main.controller.show()
forms.reqt_frm_main.elements.mainpanel.tabIndex = tabnumber + 1

…it does navigate to the required tab + 1, so the problem is not related to the makeup of the tab panel or tab - it is something to do with navigating to tab 1.

I’m running into this same problem, did you ever arrive at a solution?