• 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
Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >NSPopUpButtonCell causes UI to "sleep" when clicked (From: Jerry Krinock <email@hidden>)
 >Re: NSPopUpButtonCell causes UI to "sleep" when clicked (From: Peter Ammon <email@hidden>)
 >Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie (From: Jerry Krinock <email@hidden>)
 >Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie (From: Jim Correia <email@hidden>)

  • Prev by Date: Re: figuring out which TableView I am?
  • Next by Date: Re: Core Data Suddenly Losing Changes
  • Previous by thread: Re: NSPopUpButtonCell Keeps on Trackin'! Demo, Movie
  • Next by thread: WebView setDownloadDelegate: issue
  • Index(es):
    • Date
    • Thread