Re: Making a Label (NSTextField) clickable

2010-11-23 Thread Siegfried
On 23/11/2010, at 19:00, Eric Gorr wrote: > I just need a Label to send it's action to it's target when I click on it. > > … > > Not fully satisfied with this solution (I like to avoid subclassing unless > absolutely necessary), I was wondering if there was a better way...? > Not sure about y

Making a Label (NSTextField) clickable

2010-11-23 Thread Eric Gorr
I just need a Label to send it's action to it's target when I click on it. The first thing I tried was to use setTarget:, setAction:, & sendActionOn:, but that did not work. I messed around with a couple of other things, but without success. What did finally work was to subclass NSTextField and