tabpanel getTabIndex

I need to use the index of a tabpanel. So i use setTabIndex and getTabIndex.

setTabIndex works like a charm!

getTabIndex however is formatted like ‘number getTabIndex(number)’. I can’t get it to work properly.

How can I get it to work or is there something wrong?

Thanks,

Marcel

this should work:

get active tab:
var x = elements.tabPanel.tabIndex

set active tab:
elements.tabPanel.tabIndex = 2

Hello maarten,

Sorry, but this doesn’t work, I get an errormessage that tabIndex is unknown. I am now downloading the newest beta (is it in here?)

Marcel

I tested with Version R2 1.2rc5-build 257

Thanks maarten, however… This discussion will float from the original and I hope you don’t mind my posting further here.

I have not been able to install the new build without loosing my application data! Installing fresh and moving the db to the directory or installing over the original data didn’t show my application anymore.

Hope you can help me out on this one although I will go through the forum on the subject too..

Marcel

Thanks Maarten,

All issues solved with the latest release and your tips!

Ciao,

Marcel