• 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
NSTableView and setDoubleAction:
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTableView and setDoubleAction:


  • Subject: NSTableView and setDoubleAction:
  • From: Ryan Homer <email@hidden>
  • Date: Thu, 11 Jan 2007 15:35:49 -0500

(I apologize if this message comes through more than once; problems with Mail)

I have an NSTableView with two columns and have set each column as NOT editable in Interface Builder. In my awakeFromNib method I have:

- (void)awakeFromNib
{
	.
	.
	.
	[contactListView setDataSource:self];
	[contactListView setDelegate:self];
	[contactListView setDoubleAction:@selector(rowDoubleClicked:)];
}

and in the same class, I also have:

- (IBAction)rowDoubleClicked:(id)sender
{
	.
	.
	.
}

However, when I double-click on a row, it gets highlighted but rowDoubleClicked: never gets called.

I've also tried:

- (void)rowDoubleClicked:(id)sender
{
	.
	.
	.
}

and that still doesn't work. What might I be missing?

Thanks!

_______________________________________________

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


  • Follow-Ups:
    • Re: NSTableView and setDoubleAction:
      • From: "I. Savant" <email@hidden>
    • Re: NSTableView and setDoubleAction:
      • From: Glenn Zelniker <email@hidden>
  • Prev by Date: Re: When NSArray is not an Array
  • Next by Date: Re: When NSArray is not an Array
  • Previous by thread: Re: When NSArray is not an Array
  • Next by thread: Re: NSTableView and setDoubleAction:
  • Index(es):
    • Date
    • Thread