• 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: NSSegmentedCell in table column
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSSegmentedCell in table column


  • Subject: Re: NSSegmentedCell in table column
  • From: Jerry Krinock <email@hidden>
  • Date: Sun, 3 Jun 2007 19:35:26 -0700


On 2007 Jun, 01, at 8:54, Martin Höller wrote:

In theory, clickedSegment should always contain the index of the selected segment in the NSSegmentedCell of selectedRow. Unfortunately this is only true if the row was selected by the user beforehand. Otherwise, clickedSegment contains -1. E.g. row 5 is selected and the user clicks segment 1 in row 10. In this case, clickedSegment is -1 and I can not determine which segment was clicked.
Any ideas how I can change this?

No, but I'm really curious as to how you manage to click a cell without having its row being automatically and immediately selected. Possibly the answer to your question lies in the way you implemented this amazing behavior.


Another thing is that if you're supporting 10.3, you should test your app in Panther immediately. Last week I tried to put a NSSegmentedCell into an NSTableColumn and found that drawing it in 10.3 was buggy._______________________________________________

Cocoa-dev mailing list (email@hidden)

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: 
 >NSSegmentedCell in table column (From: Martin Höller <email@hidden>)

  • Prev by Date: NSURLDownload notifies on wrong thread?
  • Next by Date: Re: Blocking a method's return until an "async' forked thread has finished it's work.
  • Previous by thread: NSSegmentedCell in table column
  • Next by thread: NSTabViewItem Label binding
  • Index(es):
    • Date
    • Thread