• 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: NSTableView/NSPopUpButtonCell Mysteries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTableView/NSPopUpButtonCell Mysteries


  • Subject: Re: NSTableView/NSPopUpButtonCell Mysteries
  • From: Daniel Todd Currie <email@hidden>
  • Date: Mon, 16 Feb 2004 19:07:41 -0800

hrmmm... hadn't considered that. thanks for the tip


On 2004 Feb 16, at 16:28, mmalcolm crawford wrote:

On Feb 16, 2004, at 3:10 PM, Daniel Todd Currie wrote:

There is a separator item in my popup cell menu, and whenever the menu is edited such that a separator item is selected, I want to change the selection. However, since the menu is editable, the separator will not always be in the same place.
Yes, I could compare the selected index to the number of items before the separator, but I feel a bit more confident in actually returning the selected menu item and checking to see if it is a separator.
Thoughts?

Wouldn't you be able to trap this in  tableView:setObjectValue:forTableColumn:row: ?

mmalc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: NSTableView/NSPopUpButtonCell Mysteries (From: Stephane Sudre <email@hidden>)
 >Re: NSTableView/NSPopUpButtonCell Mysteries (From: Daniel Todd Currie <email@hidden>)
 >Re: NSTableView/NSPopUpButtonCell Mysteries (From: mmalcolm crawford <email@hidden>)
 >Re: NSTableView/NSPopUpButtonCell Mysteries (From: Daniel Todd Currie <email@hidden>)
 >Re: NSTableView/NSPopUpButtonCell Mysteries (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: Problem with NSSortDescriptor sorting NSMutableArray?
  • Next by Date: Re: NSRunAlertPanel-not working?
  • Previous by thread: Re: NSTableView/NSPopUpButtonCell Mysteries
  • Next by thread: NSTableView and custom table headers
  • Index(es):
    • Date
    • Thread