• 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: suppressing a browser opening a link
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: suppressing a browser opening a link


  • Subject: Re: suppressing a browser opening a link
  • From: Douglas Davidson <email@hidden>
  • Date: Mon, 29 Apr 2002 10:58:23 -0700

On Monday, April 29, 2002, at 10:35 AM, Jeff Martirano wrote:

both YES and NO, depending on the situation. some links i want to open in my textview, and others i want to open in the browser. i can put the conditions on whether to open in the browser once i know how to suppress that behavior.

If you return YES from the delegate method textView:clickedOnLink:atIndex: then the text view will assume that you have handled the link yourself, and will not attempt to open it in a browser.

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.

  • Follow-Ups:
    • Re: suppressing a browser opening a link
      • From: Jeff Martirano <email@hidden>
References: 
 >Re: suppressing a browser opening a link (From: Jeff Martirano <email@hidden>)

  • Prev by Date: Where are true print margin values?
  • Next by Date: dimmed subview
  • Previous by thread: Re: suppressing a browser opening a link
  • Next by thread: Re: suppressing a browser opening a link
  • Index(es):
    • Date
    • Thread