shouldSelectTabViewItem called twice
shouldSelectTabViewItem called twice
- Subject: shouldSelectTabViewItem called twice
- From: Frode <email@hidden>
- Date: Tue, 27 Jun 2006 11:10:01 +0200
Part 1 of 2
Hello!
I have a NSTableView inside a window. Two NSButtons have actions
selectNextTabViewItem and selectPreviousTabViewItem to the NSTableView.
When I call selectXXXTabViewItem, or if it's called as a result of
user interaction, the shouldSelectTabViewItem
delegate is called twice, the other delegates (didSelectTabViewItem,
willSelectTabViewItem) only once.
A similar strange behaviour appears if shouldSelectTabViewItem
returns NO. Then selectXXXTabViewItem seems to send
shouldSelectTabViewItem to all tabs before (or after) the selected
tab. And the last tab receives two messages, again.
Does this behaviour fill any particular purpose? And what is the
purpose?
Thanks for any hints
Regards
Roger
PS. A similar issue was posted about a year ago:
http://www.cocoabuilder.com/archive/message/cocoa/2005/11/27/151180
_______________________________________________
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