• 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: identify a specific NSImagecell
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: identify a specific NSImagecell


  • Subject: Re: identify a specific NSImagecell
  • From: Francesca <email@hidden>
  • Date: Wed, 19 Apr 2006 17:22:14 +0200


Odd -- although -setTag: is declared in NSCell, it looks like only NSActionCell has a working implementation of it. This means it makes no sense for IB to provide a field for setting the tag of an NSImageCell. Likewise, the "Tag" field and the "Tags = Positions" button don't make sense in an NSMatrix inspector when the cells are NSImageCells. I'd report this as a bug.


As a workaround, you could set the matrix mode to "Radio", and then in your action method look at [sender selectedRow] and [sender selectedColumn].

--Andy
_______________________________________________


ok, thanks.
But, I've create an NSMutableArray with the name of the images I display in my NSMatrix.
Now, I would to open the image at the double click.
So, if I can set to my cell the same index of my array I can retrieve this info....


I hope you understand.... my english is bad :-(
thanks
francesca



_______________________________________________
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


  • Follow-Ups:
    • Re: identify a specific NSImagecell
      • From: Andy Lee <email@hidden>
References: 
 >identify a specific NSImagecell (From: Francesca <email@hidden>)
 >Re: identify a specific NSImagecell (From: Andy Lee <email@hidden>)

  • Prev by Date: Re: identify a specific NSImagecell
  • Next by Date: Re: memory leak in readInBackgroundAndNotify
  • Previous by thread: Re: identify a specific NSImagecell
  • Next by thread: Re: identify a specific NSImagecell
  • Index(es):
    • Date
    • Thread