• 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: Creating a Hyperlink in the UI
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a Hyperlink in the UI


  • Subject: Re: Creating a Hyperlink in the UI
  • From: Karl Moskowski <email@hidden>
  • Date: Mon, 3 Nov 2008 19:05:39 -0500


On 3-Nov-08, at 3:52 PM, development2 wrote:

I need to create Hyperlink to the companies web site, but the link
will be in a NSTextField. How do I create a hyperlink in this text
field. I am sure it is something with NSMutableAttributedString but
can't seem to figure it out. I though maybe there was some Cocoa class
to do that, but could not find anything. Does anyone have one or know
where I might be able to find one?


Try the HyperlinkButton class here:
<http://www.cocoadev.com/index.pl?InsertHyperlink>

It uses ObjC 2.0 dot notation; if you need Tiger support, you'd have to change it a bit.

----
Karl Moskowski <email@hidden>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>



Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Prev by Date: Re: Xml
  • Next by Date: Re: External Program Control from within Cocoa App
  • Previous by thread: Re: Creating a Hyperlink in the UI
  • Next by thread: NSTableView with Custom Views as Cells Redraw Problem
  • Index(es):
    • Date
    • Thread