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 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.