Re: identify a specific NSImagecell
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