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 PROTECTED]>
Voodoo Ergonomics Inc. <http://voodooergonomics.com/>



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

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to