I have an NSTableView (multiple selection, not editable) and I want to do something with the elements of the displayed list when the user double clicks. Even though the table has multiple selection, I only want to action the single element that the user double-clicked.

If I set up a target/action message using setTarget: and setDoubleAction:, everything works fine and I can get clickedRow to tell me the row.

If I use bindings in IB3 and bind "Double Click Target", I get the action message, but clickedRow is always -1.

So, is this a bug? If so, I'll radar it. But I wanted to check if this is expected behaviour because of something special about bindings.

ta,
pt.
_______________________________________________

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