Re: Selecting Tab Error
Re: Selecting Tab Error
- Subject: Re: Selecting Tab Error
- From: "Alastair J.Houghton" <email@hidden>
- Date: Tue, 29 Jul 2003 21:12:20 +0100
On Tuesday, July 29, 2003, at 08:27 pm, Seth Willits wrote:
The documentation cites that the NSTabView class has several messages
to select a specific tab, but when building, the compiler warns that
the object does not respond to any of the messages I choose.
My NSTabView is an IBOutlet defined as:
IBOutlet NSTabView * tabPanel;
And I try to select the tab with:
[tabPanel selectLastTabViewItem];
Am I missing something?
Yes. The message is
- (void)selectLastTabViewItem:(id)sender
so you need to pass an object as the sender (for example, [tabPanel
selectLastTabViewItem:self]).
Kind regards,
Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.