I called setDoubleAction to assign an action method to be called
when the user double clicks on a NSTableView. It works great.
However, when the user double clicks on the column header, the
method is also called (and the docs corroborate this). Is there a
way to determine if the user actually double clicked on a row or a
table column?
The sender argument of my action method is of type NSTableView for
both situations. So, that doesn't help.
Call -clickedRow on the sender. It will be -1 if the user clicked
in the header or past the end of the rows.
Hope this helps,
- Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden