Disabling tabpanel restores tabIndex to 1

Hi,

Whenever I disable a form tab the tabIndex gets restored to 1.
I need it to stay on whatever tab was selected.

forms.tsm.elements.tabs_shortcut.enabled = enabled;

A sample solution is attached.
Should I lodge a case?

Cheers,
Maria

testTabs.servoy (5.15 KB)

please make a case.