I have an NSSegmentedControl with 2 segments. The first has a menu set. The 
second has no menu.

I have set a target and action for the whole segmented control.

My problem is that I have to hold down the first segment to see the menu for 
it. By just clicking on it, the action method gets called. (And of course, 
clicking the second segment calls the action method, as it should, since there 
is no menu attached to it; so the second segment is fine and is no problem.)

How can I force the first segment to show the menu when the first segment gets 
a "mouseDown", i.e. how can I make the first segment act as if there were no 
target and action set (but of course the target and action should continue to 
apply for the second segment)?



                                          
_________________________________________________________________
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969_______________________________________________

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

Reply via email to