• 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: Creating a clickable (web-browser-like) URL control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating a clickable (web-browser-like) URL control


  • Subject: Re: Creating a clickable (web-browser-like) URL control
  • From: Sean McBride <email@hidden>
  • Date: Mon, 5 Aug 2002 11:03:58 -0400

John Anderson (email@hidden) wrote:

>The best way would be to create an NSTextView and populate its contents
>dynamically.
>
> (snip)
>
>That should display a clickable link.

It does thanks! But there are some visual problems:

1) The background. After playing around with IB a lot, I managed to drag
the border from a default NSTextField to my NSTextView. In IB it looks
perfect but when I actually run my pref pane the striped background of my
NSTextView does not line up with the window's striped background. :(

2) The link is only clickable if the 'selectable' attribute is on,
causing an insertion point cursor to appear on rollover.

>I think there's even a way to
>make NSTextView display the finger cursor over the link. Don't remember
>off-hand.

This would solve #2. I'll see if I can find an apropriate method...

But problem #1 is the real killer, any ideas?

Thanks again!
_______________________________________________
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: Creating a clickable (web-browser-like) URL control
      • From: John Anderson <email@hidden>
References: 
 >Re: Creating a clickable (web-browser-like) URL control (From: John Anderson <email@hidden>)

  • Prev by Date: Re: Help! Cannot add copy build phase (or whatever phase)?
  • Next by Date: Re: Help! Cannot add copy build phase (or whatever phase)?
  • Previous by thread: Re: Creating a clickable (web-browser-like) URL control
  • Next by thread: Re: Creating a clickable (web-browser-like) URL control
  • Index(es):
    • Date
    • Thread