On 9/9/08 4:19 PM, David Hoerl said: >The NSPathControl.h file says that when in Popup mode, the control >will send a action message. However, I cannot get it to work. I've >tried using no types, and a type of "public.folder". > >Is this a known problem?
Yes. The work around given to me was to subclass and override NSPathCell: - (void)setURL:(NSURL*)url { [super setURL:url]; // Workround for <rdar://5415437> on Mac OS X 10.5.x. NSPathControl* pathControl = (NSPathControl*)[self controlView]; (void)[pathControl sendAction:[self action] to:[self target]]; } -- ____________________________________________________________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ 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 [EMAIL PROTECTED]