My application has an NSTabView with three tabs. The second tab, EPG, has an 
ordinary NSTableView:
http://www.myrvold.org/cocoa/myrdream/images/epgbefore.jpg 

The third tab, WebTV, has a WebView, which fetches content from a local Linux 
satellite box:
http://www.myrvold.org/cocoa/myrdream/images/webtv.jpg 

The problem starts when I switch from the WebTV tab back to the other tabs. The 
WebView is then overlayed the other views:
http://www.myrvold.org/cocoa/myrdream/images/epgafter.jpg 

The tabView:didSelectTabViewItem: method is this (owebView is an outlet to 
WebView layed out in IB):

NSString *host = [[oconnectionInfo selection] valueForKey:@"server"];
NSString *urlstr = [NSString 
stringWithFormat:@"http://%@/web-data/streaminterface.html";, host];
NSURL *url = [NSURL URLWithString:urlstr];

[[owebView mainFrame] loadRequest:[NSURLRequest requestWithURL:url]];

What should I do to avoid the WebView to appear in the other two 
tabs?_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to