Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSPopUpButton selectItemAtIndex and action




On 18 okt 2005, at 09.13, Francisco Tolmasky wrote:

I was wondering if there was any way to have using [myPopUpCell selectItemAtIndex: someIndex] trigger an action message to [myPopUpButtonCell target]. This is what I would imagine to be the logical behavior, but it doesn't seem to be happening. Any thoughts?

The action is only triggered on user events, not when you change the selection programatically.


And that is the logical behaviour...   ;-)

j o a r



Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >NSPopUpButton selectItemAtIndex and action (From: Francisco Tolmasky <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.