Hi all,
I have a window that has a custom NSTableView and an image cell. I have used this [tableView setDoubleAction: @selector(doubleAction:)]; to set the double action. The issue is that I have a method in the tableview that the window controller can use to determine if a double click has occurred, I check this in the delegate (BOOL)tableView: (NSTableView *)aTableView shouldSelectRow:(NSInteger)rowIndex but it only works on the third click because it gets called every time I click. There has to be a better way of detecting the double click in the tableview and telling my controller class this has happened. Can someone point me in the right direction?

Regards
Damien
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please 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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to