Re: programatically show NSSegmentedCell menu?

2010-03-06 Thread David Hoerl
[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

programatically show NSSegmentedCell menu?

2008-03-27 Thread Jesse Grosjean
I'm trying to programatically show a NSSgetmentedCell menu, as if the user has clicked on that segmented cell. For normal popup buttons you can do this with 'performClick:', but that doesn't work for segmented controls, because it will always just perform the click on the middle cell. Is

Re: programatically show NSSegmentedCell menu?

2008-03-27 Thread Bob Clark
On Mar 27, 2008, at 1:21 PM, Jesse Grosjean wrote: I'm trying to programatically show a NSSgetmentedCell menu, as if the user has clicked on that segmented cell. For normal popup buttons you can do this with 'performClick:', but that doesn't work for segmented controls, because it will