• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSTextField and clickable link
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: NSTextField and clickable link
      • From: Lee Morgan <email@hidden>
  • Prev by Date: Re: How to get NSPersistentDocument to use a subclassed NSManagedContext?
  • Next by Date: Re: NSTextField and clickable link
  • Previous by thread: Re: NSTextField and clickable link
  • Next by thread: Re: NSTextField and clickable link
  • Index(es):
    • Date
    • Thread