WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 TabPane > Preselecting?, ForgetFoo, March 3, 2004
     Re:TabPane > Preselecting?, Emil A Eklund, March 3, 2004
         Re:TabPane > Preselecting? , Guillermo, March 10, 2004
             Re:TabPane > Preselecting? , Erik Arvidsson, March 14, 2004
         Re:TabPane > Preselecting?, Erik Arvidsson, March 4, 2004
         Re:TabPane > Preselecting?, ForgetFoo, March 3, 2004
             Re:TabPane > Preselecting?, Emil A Eklund, March 4, 2004

Subject: Re:TabPane > Preselecting? From: Erik Arvidsson Date: March 4, 2004
You should be able to call select on the tab page object as well.

<script type="text/javascript">
var page = tp1.addTabPage( document.getElementById( "tabPage2" ) );
page.select();
</script>

This just calls setSelectedIndex on the tab pane for you but at least you do not need to keep track of the index. Maybe you already have the index... then stick to what Emil said :-)

erik



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX