NSTableView setDoubleAction:
NSTableView setDoubleAction:
- Subject: NSTableView setDoubleAction:
- From: April Gendill <email@hidden>
- Date: Tue, 23 Mar 2004 21:50:18 -0700
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.
April.
_______________________________________________
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.