Re: Selecting multiple cells in a NSMatrix
Re: Selecting multiple cells in a NSMatrix
- Subject: Re: Selecting multiple cells in a NSMatrix
- From: James DiPalma <email@hidden>
- Date: Tue, 23 Oct 2001 13:04:51 -0400
Yes, selecting multiple cells with an alt-click works fine.
setAllowsMultipleSelection:YES is set by IB in my case (just verified
it).
-jim
On Tuesday, October 23, 2001, at 12:44 PM, John C. Randolph wrote:
On Tuesday, October 23, 2001, at 09:01 AM, James DiPalma wrote:
Does anyone have any experience or suggestions about how to select
multiple cells in either a NSBrowser or an NSMatrix? I can't get
multiple cells selected and think that I must be missing something.
I've tried setPath:, selectRow:inColumn:, and selectCell: (single cell
selected), setState: (highlights, but no selection),
setSelectionFrom:to:anchor:highlight: (highlights one selects two of
four cells).
Did you remember to send setAllowsMultipleSelection:YES?
-jcr
"I fear all we have done is to awaken a sleeping giant and fill him
with a terrible resolve." -Admiral Isoroku Yamamoto, Dec 7, 1941.