Re: setDoubleAction in tableView
Re: setDoubleAction in tableView
- Subject: Re: setDoubleAction in tableView
- From: Keith Renz <email@hidden>
- Date: Tue, 18 Nov 2003 09:53:29 -0500
The table view's target should be set to the object where the
openFileInBrowser: method is. The table view's double action should be
set to the openFileInBrowser: method selector.
Note, it is not necessary to set a target. For a nil target, the
double-click action will be sent up the responder chain. But the method
selector must be in an object which is in the responder chain. (I'm not
setting a target and it works fine.)
Keith
-----
On Nov 17, 2003, at 11:17 PM, Kurt Marek wrote:
So I set the target of the tableView to openFileInBrowser: and I
changed the method to have the sender argument. Now it fires even when
I just single click :(
Kurt
_______________________________________________
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.