Re: Trouble with NSSegmentedControl

2009-11-16 Thread Dave DeLong
Thanks to Seth and his subclass of NSSegmentedControl, I have this working exactly as I had hoped! Cheers, Dave On Nov 16, 2009, at 7:44 PM, Seth Willits wrote: > > On Nov 16, 2009, at 2:09 PM, Dave DeLong wrote: > >> How can I achieve the behavior that I'm looking for (and that is implied i

Re: Trouble with NSSegmentedControl

2009-11-16 Thread Seth Willits
On Nov 16, 2009, at 2:09 PM, Dave DeLong wrote: How can I achieve the behavior that I'm looking for (and that is implied in the documentation)? NSSegmentedControl, like NSSplitView, leaves *much* to be desired. Over time, my solution has evolved into an NSSegmentedControl subclass with a

Trouble with NSSegmentedControl

2009-11-16 Thread Dave DeLong
Hi everyone, I'm having an issue with NSSegmentedControl. My control has two segments. Segment 0 has an image of NSAddTemplate, and segment 1 has an image of NSRemoveTemplate. Segment 0 is always enabled, and segment 1 is conditionally enabled. Segment 0 has a menu, segment 1 does not. The