• 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
selectionIndexesForProposedSelection on mouse Up or mouse Down
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

selectionIndexesForProposedSelection on mouse Up or mouse Down


  • Subject: selectionIndexesForProposedSelection on mouse Up or mouse Down
  • From: Brad Stone <email@hidden>
  • Date: Thu, 12 May 2011 13:05:09 -0400

For my NSTableView (NSIndexSet *)tableView:(NSTableView *)tableView selectionIndexesForProposedSelection:(NSIndexSet *)proposedSelectionIndexes fires on mouseDown and (void)tableViewSelectionDidChange:(NSNotification *)aNotification fires on mouseUp.

For my NSOutlineView (NSIndexSet *)outlineView:(NSOutlineView *)outlineView selectionIndexesForProposedSelection:(NSIndexSet *)proposedSelectionIndexes and (void)outlineViewSelectionDidChange:(NSNotification *)notification fire only on mouseUp.

Is this normal behavior?

I would prefer the NSOutlineView fire on mouseDown like the NSTableView.  Is there a way to change that?

(In Mail.app, if you organize by thread selection happens on mouseUp but in iTunes, the podcast outlineView selects on mouseDown)._______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: selectionIndexesForProposedSelection on mouse Up or mouse Down
      • From: Quincey Morris <email@hidden>
  • Prev by Date: Re: Moving windows from one NIB to another(solved)
  • Next by Date: Read-Write Lock is Available?
  • Previous by thread: Re: Moving windows from one NIB to another(solved)
  • Next by thread: Re: selectionIndexesForProposedSelection on mouse Up or mouse Down
  • Index(es):
    • Date
    • Thread