• 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: Selecting multiple cells in a NSMatrix
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >Re: Selecting multiple cells in a NSMatrix (From: "John C. Randolph" <email@hidden>)

  • Prev by Date: Cocoa shell works great from PB, crashes as standalone.
  • Next by Date: Re: Cocoa shell works great from PB, crashes as standalone.
  • Previous by thread: Re: Selecting multiple cells in a NSMatrix
  • Next by thread: Re: Selecting multiple cells in a NSMatrix
  • Index(es):
    • Date
    • Thread