selectionIndexesForProposedSelection on mouse Up or mouse Down
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