Re: NSTextField and clickable link
Re: NSTextField and clickable link
- Subject: Re: NSTextField and clickable link
- From: Ron Fleckner <email@hidden>
- Date: Mon, 23 May 2005 15:18:05 +1000
On 22/05/2005, at 5:02 AM, email@hidden wrote:
On May 21, 2005, at 10:59am, Andy Lee wrote:
On May 21, 2005, at 1:50 PM, Steve Palmer wrote:
I'm trying to see if I can have an NSTextField show a URL that can
be clicked. However I'm not having much success. Before I go any
further, is it possible to pass setAttributedStringValue to an
NSTextField with an attributed string that has an
NSLinkAttributeName dictionary item and have the field behave as a
clickable URL that will open the URL in a web browser? Or do I
have to do more work here?
This came up recently. I don't remember the exact thread, you'd
have to check the archives.
Or... try it and see what happens. You've already described the
idea in detail -- why not just code it?
--Andy
Steve,
I don't remember the actual thread name either, but someone wanted to
implement a clickable text field/object like the one on the bottom of
the Xcode window which brings up the build results window.
Apparently, that clickable text field is a subclass of NSButton, so
that might be an easier way to go?
Ron
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden