Re: suppressing a browser opening a link
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 11:12:44 -0700
i logged out and back in, then set my System Preferences/Internet/Web to
OmniWeb (even though it was already set there), and lo and behold my app
started handling the links without passing it off to the browser too.
this must just be a problem with my setup. sometimes my default browser
configuration is erratic. i've had other weird "Preferred Browser"
occurrences before, such as Word trying to open regular html urls, even
though it was obviously not set as my preferred browser.
thanks for your help.
On Monday, April 29, 2002, at 10:58 , Douglas Davidson wrote:
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.