• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Selecting Tab Error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Selecting Tab Error (From: Seth Willits <email@hidden>)

  • Prev by Date: Re: Selecting Tab Error
  • Next by Date: Re: Memory Management
  • Previous by thread: Re: Selecting Tab Error
  • Next by thread: Outlineview
  • Index(es):
    • Date
    • Thread