Re: programatically show NSSegmentedCell menu?
Re: programatically show NSSegmentedCell menu?
- Subject: Re: programatically show NSSegmentedCell menu?
- From: David Hoerl <email@hidden>
- Date: Sat, 06 Mar 2010 12:00:58 -0500
[This is for the archives - to finish off an unresolved thread]
[Keywords programatically show display NSSegmentedCell
NSSegmentedControl menu performClick ]
The way to have the segmented cell open a menu is to do it in two steps:
[segmentedControl setSelectedSegment:0]; // set the desired segment
[segmentedControl performClick:self]; // now pop it
Works for me on any segment, and I have three segments each with a menu.
David
_______________________________________________
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