Re: Upgraded tabbed_pane_widget

Michael Flanagan <[email protected]> Tue, 07 Oct 2003 17:02:22 -0700
Newsgroups gmane.comp.windows.devel.netwindows
Message-ID <[email protected]>
Christian Boulanger wrote:

> Hi Michael,
> 
> Can you give me a hint on how to bring a particular tab to the foreground
> programmatically?mytabpane.switchDisp(newTab) does not work for me for some
> reason.
> 
> I also have the problem that the content of the new tab is temporarily
> attached to the bottom 
> of the currently visible tab (this disappears after clicking the tabs). 
> 
> Cheers,
> 
> Christian

I suspect that the problem with the new content is that it's not getting 
it's CSS visibility style set to none, but once you click on the tab, it 
fixes itself because it's getting checked somewhere else in the code. 
Could you please file a bug about that on SF.net?

To switch display to a given tab, you need to call 
nwTabbedPaneWidget.switchDisp(tabNode) where tabNode is the index of the 
tabbed pane you want to switch to.

Hope this helps.

--Michael


_______________________________________________
The netWindows developers list: [email protected]
http://netwindows.org/mailman/listinfo/devel_netwindows.org