• 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
Detecting changes to NSPopUpButtonCell in an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Detecting changes to NSPopUpButtonCell in an NSTableView


  • Subject: Detecting changes to NSPopUpButtonCell in an NSTableView
  • From: Ulai Beekam <email@hidden>
  • Date: Thu, 23 Apr 2009 23:12:36 +0000
  • Importance: Normal

Hi,


We all know that we can detect when    regular text in an NSTableView    finishes editing using the control notification method controlTextDidEndEditing:.

My problem, however, is this: In one of the columns I have attached an NSPopUpButtonCell. The pop up button has two predetermined constant choices "Foo" and "Bar" (always these two fixed choices). How can I detect it when these values are have been changed (after having selected a menu item)? The problem is that abovementioned notification method, controlTextDidEndEditing:, is not getting called in this case.


How, then, can I do some stuff after an NSPopUpButtonCell has changed a value? Is there any other notification method I can use? I have not yet seen such a method in the docs.


Thanks, U.
_________________________________________________________________
Show them the way! Add maps and directions to your party invites.
http://www.microsoft.com/windows/windowslive/products/events.aspx_______________________________________________

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

  • Follow-Ups:
    • Re: Detecting changes to NSPopUpButtonCell in an NSTableView
      • From: ALEXander <email@hidden>
  • Prev by Date: Re: XCode Debugger Summary Format
  • Next by Date: Re: Detecting changes to NSPopUpButtonCell in an NSTableView
  • Previous by thread: Re: XCode Debugger Summary Format
  • Next by thread: Re: Detecting changes to NSPopUpButtonCell in an NSTableView
  • Index(es):
    • Date
    • Thread