[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 (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