• 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
Problem with NSButtonCell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with NSButtonCell


  • Subject: Problem with NSButtonCell
  • From: Jeff LaMarche <email@hidden>
  • Date: Sun, 4 Nov 2001 19:13:41 -0800

I've set up an NSTableView with an NSButtonCell for one of the columns. I've set up the target and action so that when the button is clicked the appropriate method in my control object is called.

What I don't know, however, is how to determine which row of the NSTableView they clicked in. I had expected that the sender would somehow indicate the row clicked, but the sender is simply the NSTableView that contains the cell.

How can I determine which row's button was pressed?


  • Follow-Ups:
    • Re: Problem with NSButtonCell
      • From: David Watanabe <email@hidden>
  • Prev by Date: Re: How to join two controls together?
  • Next by Date: Re: Problem with NSButtonCell
  • Previous by thread: Re: Application behaving strangely after displaying a sheet
  • Next by thread: Re: Problem with NSButtonCell
  • Index(es):
    • Date
    • Thread