Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie
Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie
- Subject: Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie
- From: Jerry Krinock <email@hidden>
- Date: Sun, 26 Apr 2009 17:58:56 -0700
On 2009 Apr 26, at 15:29, Jim Correia wrote:
What you've done is replaced the table column's header cell, and
started a menu tracking session while the table view was already in
the middle of a mouse tracking session.
Yes, that makes sense because I notice that clicking in the table view
does not stop the tracking. So I just tried sending -performClick: to
the table view, but that didn't help. I need something like a -
[NSControl heyStopTracking] message.
What are you really trying to accomplish here?
This is for the header of a table view which displays my data
objects. My objects have about a dozen attributes that users may be
interested in from time to time, but no one wants to see a table with
12 columns. So I have placed in two of the three column headers a
popup menu which allows the user to select the attribute for that
column. It all works very nice now except for this glitch.
you are probably going to want to take the approach of using a custom
header view (along with custom header cells as necessary.)
I've already got the custom header cell that draws as its title the
current popup selection, and also a couple of bezier path triangles
that point up and down.
The only thing I'd want to customize in the header view would be to
inhibit or terminate its mouse tracking when the menu was open. How
could I do that?
_______________________________________________
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