• 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: Problems with NSPathControl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems with NSPathControl


  • Subject: Re: Problems with NSPathControl
  • From: Dave DeLong <email@hidden>
  • Date: Mon, 12 Jul 2010 14:50:26 -0600

Or do I have to do something wonky like altering the target/action of menuitems before they show up?

Dave

On Jul 12, 2010, at 2:45 PM, Dave DeLong wrote:

> Fair enough;  How can I retrieve which item was clicked?  The sender of the action is the actual NSPathControl, and -clickedPathComponentCell:, which works on 10.6, returns nil on 10.5.
>
> Dave
>
> On Jul 12, 2010, at 2:39 PM, Kevin Perry wrote:
>
>> Dave,
>>
>> I believe what you're seeing is the intended behavior.
>>
>> There are cases where developers have not wanted the URL to change when an item in the pop-up menu is selected. Instead of doing this automatically and forcing developers to prevent or undo this behavior, NSPathControl instead expects you to set URL yourself in the action method if you want this behavior.
> _______________________________________________
>
> 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

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

_______________________________________________

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: Problems with NSPathControl
      • From: Kevin Perry <email@hidden>
References: 
 >Problems with NSPathControl (From: Dave DeLong <email@hidden>)
 >Re: Problems with NSPathControl (From: Kevin Perry <email@hidden>)
 >Re: Problems with NSPathControl (From: Dave DeLong <email@hidden>)

  • Prev by Date: Re: Problems with NSPathControl
  • Next by Date: Re: Problems with NSPathControl
  • Previous by thread: Re: Problems with NSPathControl
  • Next by thread: Re: Problems with NSPathControl
  • Index(es):
    • Date
    • Thread