tabpanel getTabIndex

Discuss all problems you have with Servoy here. It might help to mention the Servoy version and Operating System version you are using

tabpanel getTabIndex

Postby marceltrapman@planet.nl » Tue Oct 14, 2003 10:48 am

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
marceltrapman@planet.nl
 

Postby maarten » Tue Oct 14, 2003 12:19 pm

this should work:

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

set active tab:
elements.tabPanel.tabIndex = 2
Maarten Berkenbosch
User avatar
maarten
 
Posts: 797
Joined: Wed Apr 23, 2003 10:52 pm
Location: Amersfoort, Netherlands

nope

Postby IT2Be » Tue Oct 14, 2003 7:23 pm

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
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Postby maarten » Tue Oct 14, 2003 9:16 pm

I tested with Version R2 1.2rc5-build 257
Maarten Berkenbosch
User avatar
maarten
 
Posts: 797
Joined: Wed Apr 23, 2003 10:52 pm
Location: Amersfoort, Netherlands

ok

Postby IT2Be » Tue Oct 14, 2003 9:44 pm

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
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany

Thanks

Postby IT2Be » Wed Oct 15, 2003 8:27 pm

Thanks Maarten,

All issues solved with the latest release and your tips!

Ciao,

Marcel
User avatar
IT2Be
Servoy Expert
 
Posts: 4766
Joined: Tue Oct 14, 2003 7:09 pm
Location: Germany


Return to Discuss possible Issues and Bugs

Who is online

Users browsing this forum: Majestic-12 [Bot] and 2 guests