Re: NSSegmentedCell in table column
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