Re: NSTableView and setDoubleAction:
Re: NSTableView and setDoubleAction:
- Subject: Re: NSTableView and setDoubleAction:
- From: "I. Savant" <email@hidden>
- Date: Thu, 11 Jan 2007 15:46:55 -0500
However, when I double-click on a row, it gets highlighted but
rowDoubleClicked: never gets called.
You've set the action, but not the target. Take a look at this
document:
http://developer.apple.com/documentation/Cocoa/Conceptual/
CocoaFundamentals/CommunicatingWithObjects/chapter_6_section_5.html
You need:
[contactListView setTarget:self];
... that'll tell your table view to what *target* object to direct
the specified *action*.
--
I.S.
_______________________________________________
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