• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: setDoubleAction in tableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >setDoubleAction in tableView (From: Kurt Marek <email@hidden>)
 >Re: setDoubleAction in tableView (From: Brian Webster <email@hidden>)
 >Re: setDoubleAction in tableView (From: Kurt Marek <email@hidden>)

  • Prev by Date: Re: (no subject)
  • Next by Date: Preventing screen-saver from triggering ?
  • Previous by thread: Re: setDoubleAction in tableView
  • Next by thread: Re: setDoubleAction in tableView
  • Index(es):
    • Date
    • Thread