• 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: Jeff Martirano <email@hidden>
  • Date: Mon, 29 Apr 2002 10:35:43 -0700

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.



On Monday, April 29, 2002, at 10:19 , Douglas Davidson wrote:

On Monday, April 29, 2002, at 12:00 AM, Jeff Martirano wrote:

- (BOOL)textView:(NSTextView *)textView clickedOnLink:(id)link atIndex:(unsigned)charIndex

This all works fine, except that in addition to the url that the user clicked on being loaded into the text field (desired), it also opens the url in the default browser for that user (undesired).

What value are you returning from your delegate method?

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.


http://weseeyou.org
-------------------
-------------------
-------------------
-------------------
---------$$$$$$$$$$
---------$$$$$$$$$$
---------$$$$$$$$$$
---------$$$$$$$$$$
_______________________________________________
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: Douglas Davidson <email@hidden>
References: 
 >Re: suppressing a browser opening a link (From: Douglas Davidson <email@hidden>)

  • Prev by Date: Re: Memory management question
  • Next by Date: Re: RegEx in cocoa, and where to dl PB+IB?
  • Previous by thread: Re: suppressing a browser opening a link
  • Next by thread: Re: suppressing a browser opening a link
  • Index(es):
    • Date
    • Thread