NSPopUpButton, notification when selecting value/object
Hi all, I found in the reference that a notification is sent when a popup button is clicked, NSPopUpButtonWillPopUpNotification. That's good, but how about when I've selected an object or value in the popup list and released the mouse button? How can I make my application aware of that? Regards /Mikael ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSPopUpButton, notification when selecting value/object
On Apr 11, 2011, at 11:57, Mikael Wämundson wrote: I found in the reference that a notification is sent when a popup button is clicked, NSPopUpButtonWillPopUpNotification. That's good, but how about when I've selected an object or value in the popup list and released the mouse button? How can I make my application aware of that? Via the action method or the value binding. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com
Re: NSPopUpButton, notification when selecting value/object
Hi Mikael, My best guess would the action of that button in your application. This method is called when you 'click' on the NSButton, ie after the mouse up event. Are you looking specifically for a notification? Many thanks, Oli./. -- Molowa On Apr 11, 2011, at 8:57 PM, Mikael Wämundson wrote: Hi all, I found in the reference that a notification is sent when a popup button is clicked, NSPopUpButtonWillPopUpNotification. That's good, but how about when I've selected an object or value in the popup list and released the mouse button? How can I make my application aware of that? Regards /Mikael ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/olivier%40sunprotectingfactory.com This email sent to oliv...@sunprotectingfactory.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com