NSTabView help
NSTabView help
- Subject: NSTabView help
- From: Silicon <email@hidden>
- Date: Sat, 24 Feb 2007 09:45:27 +0000
I want to add the tabViewItem to the tabView dynamically.
My code seems like this:
myTa myTabView = [[NSTabView alloc] init];
[myTabView setTabViewType:NSTopTabsBezelBorder];
[myWindow setContentView:myTabView];
Then I want to add a tabViewItem to myTabView:
currentTabViewItem =[[NSTabViewItem init]alloc];
[myTabView insertTabViewItem:currentTabViewItem atIndex:0];
Just after that , my application crashed. Can anyone tell what goes
wrong?
Thank you for your help.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden