• 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
NSMatrix shift selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSMatrix shift selection


  • Subject: NSMatrix shift selection
  • From: Stephan Burlot <email@hidden>
  • Date: Mon, 17 Jan 2005 10:39:57 +0100

Hi,

I have an NSMatrix of NSCells, and it doesnt perform shift selection as expected*:

Lets say I have this nsmatrix:
A B C
D E F

If I click on B and shift click on F, I would expect the cells B, C, D, E, F to be selected, but only B, C, E, F are selected, as if I was doing a rectangular selection. Do I have to handle this myself using - (void)setSelectionFrom: to: anchor: highlight: or is there some magic to perform to make it work as expected?

* I've checked the HIG, and they just mention the fact that shift extends the selection, doesnt tell how it should perform. But based on iPhoto, iView, selecting everything between the two selected cells is the expected user behavior.

Thanks,

.....................................................
Stephan Burlot,
Coriolis Technologies
Custom Application Development
Email: email@hidden
http://www.coriolis.ch/
.....................................................

_______________________________________________
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: NSMatrix shift selection
      • From: Jeremy Dronfield <email@hidden>
    • Re: NSMatrix shift selection
      • From: "John C. Randolph" <email@hidden>
  • Prev by Date: Re: how to create webloc file in programming?
  • Next by Date: Re: NSMatrix shift selection
  • Previous by thread: Re: NSString to ascii code
  • Next by thread: Re: NSMatrix shift selection
  • Index(es):
    • Date
    • Thread