• 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: html link
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: html link


  • Subject: Re: html link
  • From: Douglas Davidson <email@hidden>
  • Date: Tue, 12 Feb 2002 09:41:23 -0800

On Tuesday, February 12, 2002, at 09:19 AM, Alex Keresztes wrote:

But does anyone know how to make a certain part of a textview (or textfield for that matter) be a clickable html link?

Use NSLinkAttributeName, with the value being a URL or something you define. The textview's delegate will be notified when the link is clicked on (if it implements an appropriate method) or if not, the URL will be opened with NSWorkspace's openURL:.

Douglas Davidson
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >html link (From: Alex Keresztes <email@hidden>)

  • Prev by Date: html link
  • Next by Date: Re: Cocoa, Pure java, or Carbon?
  • Previous by thread: html link
  • Next by thread: Switching resolution and positioning the window
  • Index(es):
    • Date
    • Thread