Re: NSTableView setDoubleAction:
Re: NSTableView setDoubleAction:
- Subject: Re: NSTableView setDoubleAction:
- From: April Gendill <email@hidden>
- Date: Tue, 23 Mar 2004 23:18:36 -0700
yeah in awakeFromNib is did set the target
On Mar 23, 2004, at 10:42 PM, mmalcolm crawford wrote:
On Mar 23, 2004, at 8:50 PM, April Gendill wrote:
Ok, what's the real command to cause a table to perform a function
when an item is double clicked.
In IB I made sure the table column in question (in a 1 column table)
was not editable as prescribed by developer.apple.com and then in my
awakeFromNib method I inserted [projectTable
setDoubleAction:@selector(openSelection:)]; when double clicking
anything in the table I get nothing. I added an NSLog(@"Called"); to
my -(IBAction)openSelection:(id)sender method and when I double click
an item in the table still nothing happens. No "Called" prints to the
console.
Have you set the target?
mmalc
_______________________________________________
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.